Leaver Events Player - Player Any Player leaves the game with Any Local Variables Conditions Actions Unit Group - Remove all units from (Any units in (Entire map) owned by player (Triggering player) matching Excluded: Missile, Dead, Hidden, with at most Any Amount)
Development > Triggers
player leave, remove ALL units
- 4 posts
-
Skoite Regular Shmoe
- Join date
- May 20, 2010
- Location
- Sweden
- Reputation
- 1
- Posts
- 95
- Last login
- May 20, 2013
-
zeldarules28 Moderator
- Join date
- Jul 16, 2010
- Location
- United States
- Reputation
- 64
- Posts
- 4,141
- Projects
- 3
- Last login
- May 22, 2013
Make a new trigger:
Event: Player Leaves Game Conditions: None Actions: Pick each unit in unit group (Units owned by player (triggering player)) and do actions: { Remove unit (Picked unit) }
Here's what this is saying: Whenever a player leaves the game, pick each of his units, and then kill them one-by-one.
-
Selfcreation Author
- Join date
- Sep 17, 2010
- Location
- Canada
- Reputation
- 0
- Posts
- 606
- Projects
- 2
- Last login
- May 09, 2013
thanks allot guys :) , im really bad with triggers , hehe :P
- 4 posts


Selfcreation Authorhey
so as the tittle says,
if a player leaves the game , how do I remove all units belonging to that player in entire map?