I'm really having trouble with this :/ Kael's quide shows an example of deleting an object, but I can't seem to delete other parts of a row. E.g. This isn't working:
<GameData>
<Unit_ResourceQuantityRequirements>
<Update>
<Delete ResourceType="RESOURCE_IRON"/>
<Where UnitType ="UNIT_CATAPULT"/>
</Update>
</Unit_ResourceQuantityRequirements>
</GameData>
for:
- <Row>
<UnitType>UNIT_CATAPULT</UnitType>
<ResourceType>RESOURCE_IRON</ResourceType>
</Row>
I've tried SQL and I can't seem to do anything that works. What do I need to change?
Edit: Please someone help, I plan on doing several deletions like this. If everything is in fact fine here, can someone confirm it?
<GameData>
<Unit_ResourceQuantityRequirements>
<Update>
<Delete ResourceType="RESOURCE_IRON"/>
<Where UnitType ="UNIT_CATAPULT"/>
</Update>
</Unit_ResourceQuantityRequirements>
</GameData>
for:
- <Row>
<UnitType>UNIT_CATAPULT</UnitType>
<ResourceType>RESOURCE_IRON</ResourceType>
</Row>
I've tried SQL and I can't seem to do anything that works. What do I need to change?
Edit: Please someone help, I plan on doing several deletions like this. If everything is in fact fine here, can someone confirm it?