- Joined
- Apr 28, 2005
- Messages
- 155
Hi peeps. Spare a moment?
to kill the selected "box" and then select a (the only) "maze runner". One trigger for all players.
In single player...
this works just fine.
On battle.net or Lan...
it seems that I must first select the box, and then select something else (or the box again) in order to execute the trigger.
It just doesn't make any sense!
Thoughts?
-
ClickRemoval
-
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
- Conditions
-
Actions
- Set TempGroup = (Units owned by (Triggering player) matching (((Unit-type of (Matching unit)) Equal to Box) and (((Matching unit) is selected by (Triggering player)) Equal to True)))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Number of units in TempGroup) Greater than or equal to 1
-
Then - Actions
-
Unit Group - Pick every unit in TempGroup and do (Actions)
-
Loop - Actions
- Unit - Kill (Picked unit)
-
Loop - Actions
- Custom script: call DestroyGroup (udg_TempGroup)
- Set TempGroup = (Units owned by (Triggering player) matching (((Unit-type of (Matching unit)) Equal to Maze Runner) and (((Matching unit) is alive) Equal to True)))
- Selection - Select (Random unit from TempGroup) for (Triggering player)
- Custom script: call DestroyGroup (udg_TempGroup)
-
Unit Group - Pick every unit in TempGroup and do (Actions)
-
Else - Actions
- Do nothing
-
If - Conditions
-
Events
to kill the selected "box" and then select a (the only) "maze runner". One trigger for all players.
In single player...
this works just fine.
On battle.net or Lan...
it seems that I must first select the box, and then select something else (or the box again) in order to execute the trigger.
It just doesn't make any sense!
Thoughts?