- Joined
- Nov 1, 2008
- Messages
- 828
Alright so i have this, how would i make it so it always "Attack-Move" to the position of the heroes? I know there is a trigger for it, not "Attack" but "Attack-Move"... Thanks.
-
For each (Integer A) from Spawn_Min to Spawn_Max, do (Actions)
-
Loop - Actions
- Unit - Create 1 Spawn_Basic[(Random integer number between 1 and 2)] for Player 12 (Brown) at Spawn_Point[(Integer A)] facing Default building facing degrees
- AI - Ignore (Last created unit)'s guard position
- Unit Group - Add (Last created unit) to Zombies
- Set Number_of_Zombies = (Number_of_Zombies + 1)
- Set TempLoc = (Position of (Random unit from Alive_Heroes))
- Unit - Order (Last created unit) to Attack-Move To TempLoc
- Custom script: call RemoveLocation(udg_TempLoc)
-
Loop - Actions