Trigger Help

Status
Not open for further replies.

Spindrift

S

Spindrift

I need help making a trigger:
When the game starts, I want to remove all nonplaying units. Meaning: If a color slot is not taken, I would like to remove all pre-placed units and buildings that are under the control of the player.
 
It's deadly easy ...
  • Events
    • Map initialization
  • Conditions
  • Actions
    • For each (Integer A) from 1 to 12, do (Actions)
      • Loop - Actions
        • If ((((Player((Integer A))) slot status) Equal to Has left the game) or (((Player((Integer A))) slot status) Equal to Is unused)) then do (Unit Group - Pick every unit in (Units in (Playable map area) owned by (Player((Integer A)))) and do (Unit - Remove (Picked unit) from the game)) else do (Do nothing)
 
Status
Not open for further replies.
Back
Top