My problem is switchguard doesn't face guardangleint after attacking switch. Any idea?
-
For each (Integer tempinte) from 1 to 8, do (Actions)
-

Loop - Actions
-


Set guardangleint[tempinte] = (Facing of switchguard[tempinte])
-
-
-
SwichGuards
-

Events
-


Time - Every 1.00 seconds of game time
-
-

Conditions
-

Actions
-


For each (Integer switchguardint) from 1 to 8, do (Actions)
-



Loop - Actions
-




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





Loop - Actions
-






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







If - Conditions
-








(switches[switchguardint] is alive) Equal to True
-








(outsidegate[switchguardint] contains (Picked unit)) Equal to True
-
-







Then - Actions
-








Unit - Order switchguard[switchguardint] to Attack switches[switchguardint]
-








Unit - Make switchguard[switchguardint] face guardangleint[switchguardint] over 2.00 seconds
-
-







Else - Actions
-
-
-
-
-
-
-




