[XML] Custom Trigger - AOM:EE

https://youtu.be/WdGwz2IvWuk

Video explaining the goal and what I've wrote so far.

I'm new to AOM:EE XML

I've asked on the steam forums, but nobody has actually helped, they're just listed functions from mythicfreak which doesn't help when they don't explain how everyone co-exists lol.

The goal:
Use trCountUnitsInArea on an army (in my case the army will only ever be 1 unit) to find out if there are any enemy units in a set radius around the army. trCountUnitsInArea("%SrcArmy%",%Player%,"%UnitType%",trQuestVarGet("%Dist%")) %Op% trQuestVarGet("%Count%")

The reason I cannot use a single unit is because the unit in this army will die and a new unit will be created and added to the army (See video for the scenario and everything).

Thank you.

submitted by /u/OG_Void
[link] [comments]

from newest submissions : AgeofMythology https://ift.tt/2v8BYsc
No comments

No comments :

Post a Comment