- Joined
- Aug 11, 2009
- Messages
- 1,605
I want a trigger which will pick every lazy unit(lazy unit=unit that doesn't have an order,or an unit that has been ordered to do a command like attack/move but for various reasons it has stopped) and make it attack move to a location again.I have something like this in mind
-
MoveLazyCreeps
-

Events
-


Map initialization
-
-

Conditions
-

Actions
-


Set LazyCreeps = (Units in (Playable map area) owned by Player 1 (Red))
-


Unit Group - Pick every unit in LazyCreeps and do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Current order of (Triggering unit)) Equal to (Order(nothing))
-
-





Then - Actions
-






Unit Group - Order LazyCreeps to Attack-Move To (Center of Creep Attack1 <gen>)
-
-





Else - Actions
-
-
-
-
-






