How do i make a trigger that kills all units...

Status
Not open for further replies.

Rammex

R

Rammex

How do i kill all units in a region owned by a player when a special unit dies? The player who loses his units are not to be defeated.

Thank you
 
  • Some trigger
    • Events
      • Unit - Your Unit 0000 <gen> dies
    • Conditions
    • Actions
      • Unit Group - Pick all units in Your Region and do Actions
        • If/Then/Else //Whatever its name is
          • If - Conditions
            • (Owner of (Picked unit)) Equal to Your Player
          • Then - Actions
            • Unit - Kill (Picked unit)
          • Else - Actions
 
  • Untitled Trigger 005
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Dying unit)) Equal to Footman
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 1 (Red)) and do (Actions)
        • Loop - Actions
          • Unit - Kill (Picked unit)
 
Status
Not open for further replies.
Back
Top