• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

A player leaves or Disconnects trigger help

Status
Not open for further replies.
Level 2
Joined
Feb 5, 2008
Messages
7
I need help to make a trigger that removes the player units when he/she leaves.
 
Level 9
Joined
Jun 26, 2007
Messages
659
  • Leaver
    • Events
      • Player - Player 1 (Red) leaves the game
      • ...
      • Player - Player 12 (Brown) leaves the game
    • Conditions
    • Actions
      • Unit group - Pick every unit in (Units owned by (Triggering player)) and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
I guess
 
Status
Not open for further replies.
Top