Editing Unit Flavors

M0RF34S

Chieftain
Joined
Nov 17, 2024
Messages
7
Hey, in trying to fix the AI's anti-air/carrier spam, I decided to edit their flavors. Is the following code correct? Mostly asking because I'm unsure of when I'm supposed to use "XXXXType" (in this case UnitType) vs just "Type". Thanks!

<Unit_Flavors>
<Update>
<Where UnitType="UNIT_ANTI_AIRCRAFT_GUN" FlavorType="FLAVOR_ANTIAIR"/>
<Set Flavor="6"/>
</Update>
</Unit_Flavors>
 
Last edited:
Back
Top Bottom