• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ HD Level Design Contest #1 POLL is now OPEN! Check out the stunning visuals of the final entries. 🔗Click here to cast your vote!

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