Deleting a tag in XML

Pouakai

It belongs in a museum.
Moderator
Joined
Jun 16, 2010
Messages
7,218
Location
Aotearoa
The title is probably confusing, but what I want to do is delete the <ObsoleteTech>TECH_Whatever</ObsoleteTech> from certain units. I've only ever seen <Update> tags used to modify something though, so what would I use to get rid of the obsolete?
 
Try:

Code:
<Update>
 <Where Type="UNIT_whatever"/>
 <Set>
   <ObsoleteTech></ObsoleteTech>
 </Set>
</Update>
 
Back
Top Bottom