I have this trigger to make creeps attack a random enemy unit in the map.However,it doesnt work.Can someone help please?
-
Untitled Trigger 002
-
Events
- Time - Every 1.00 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units owned by Player 12 (Brown)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
-
Then - Actions
- Unit - Order (Picked unit) to Attack (Random unit from (Units in (Playable map area) matching ((((Target unit of issued order) is alive) Equal to True) and ((Owner of (Target unit of issued order)) Not equal to Player 12 (Brown)))))
- Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units owned by Player 12 (Brown)) and do (Actions)
-
Events