- Joined
- Jul 29, 2010
- Messages
- 319
-
Selecting strafing unit
-

Events
-


Player - Player 1 (Red) Selects a unit
-


Player - Player 2 (Blue) Selects a unit
-


Player - Player 3 (Teal) Selects a unit
-


Player - Player 4 (Purple) Selects a unit
-


Player - Player 5 (Yellow) Selects a unit
-


Player - Player 6 (Orange) Selects a unit
-


Player - Player 7 (Green) Selects a unit
-


Player - Player 8 (Pink) Selects a unit
-


Player - Player 9 (Gray) Selects a unit
-


Player - Player 10 (Light Blue) Selects a unit
-
-

Conditions
-

Actions
-


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



If - Conditions
-




(Owner of (Triggering unit)) Equal to (Owner of (Triggering unit))
-
-



Then - Actions
-




Set GroupSelect = (Units currently selected by (Owner of (Triggering unit)))
-





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






If - Conditions
-







(Number of units in GroupSelect) Equal to 1
-
-






Then - Actions
-







Set StrafingUnit = (Triggering unit)
-
-






Else - Actions
-







Set StrafingUnit = No unit
-







Custom script: call DestroyGroup( udg_GroupSelect )
-
-
-
-
-



Else - Actions
-




Set StrafingUnit = No unit
-
-
-
-











