- Joined
- Oct 18, 2008
- Messages
- 1,591
Hey! I use this trigger to move the zombies on my map, but they doesn't react Oo
-
Zombie Move
-
Events
-
Time - Every 2.00 seconds of game time
-
-
Conditions
-
Actions
-
Set TempGroup = (Units in (Playable map area) matching (((Matching player) controller) Equal to User))
-
Unit Group - Pick every unit in (Units owned by Player 11 (Dark Green)) and do (Actions)
-
Loop - Actions
-
Unit - Set the custom value of (Picked unit) to ((Custom value of (Picked unit)) - 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Custom value of (Picked unit)) Less than or equal to 1
-
Or - Any (Conditions) are true
-
Conditions
-
(Current order of (Picked unit)) Equal to (Order(stop))
-
(Current order of (Picked unit)) Equal to (Order(<Empty String>))
-
-
-
-
Then - Actions
-
Set TempPos = (Position of (Random unit from TempGroup))
-
Unit - Order (Picked unit) to Attack-Move To TempPos
-
-
Else - Actions
-
-
-
-
Custom script: call DestroyGroup( udg_TempGroup )
-
-