Stormahawk
New Member
- Reaction score
- 2
I want to make an AR trigger work for Ultimate Footmen. How should I do it? I heard you had to pre-place units on the map. Is it necessary? Could someone please explain or show me what to do?
Initialize AR
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Picked unit) is A Hero) Equal to True) and ((((Owner of (Picked unit)) controller) Equal to Passive) and (((Unit-type of (Picked unit)) Not equal to Divine God) and ((Unit-type of (Picked unit)) Not equal to Alucard) and do (Actions)
Loop - Actions
For each (Integer A) from 1 to 67, do (Actions)
Loop - Actions
Unit - Set the custom value of (Picked unit) to (Integer A)
Set HeroesAR[(Custom value of (Picked unit))] = (Picked unit)
All Random
Events
Conditions
Actions
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
Player Group - Pick every player in (All players matching (((Picked player) slot status) Equal to Is playing)) and do (Unit - Create 1 (Unit-type of HeroesAR[(Random integer number between 1 and 67)]) for (Player((Integer A))) at (Random point in Hero Start Spawn <gen>) facing Default building facing degrees)