How does the Aztec Eagle Warrior get the steal builders ability?

yoboseyo

Chieftain
Joined
Aug 17, 2024
Messages
2
I am trying to mod other units to have a similar ability to the Aztec Eagle Warrior. I have found the lines of code:
in UnitAbilityModifiers:
Code:
UnitAbilityType=ABILITY_CAPTIVE_WORKERS ModifierID=CAPTURE_COMBAT_UNITS_AS_WORKERS
And in ModifierId you can change it from UNIT_BUILDER to other types.

However, I cannot find anywhere where this ability is given to the Eagle Warrior.

How would I go about giving this ability to a different unit?
 
Last edited:
Hey, I found it - it's in TypeTags

Edit: it still doesn't seem to work. This by itself doesn't do the trick. Something else is required?
Code:
INSERT INTO TypeTags VALUES ('UNIT_CUSTOM_UNIT', 'CLASS_CAPTURE_WORKER') ;
 
Last edited:
Top Bottom