• 🏆 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!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗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