Xebarsis
New Member
- Reaction score
- 7
I have a simple trigger that makes it so that if a player leaves, he is removed from the scoreboard along with all of his units. Unfortunately half the time the units aren't removed, and I'm not sure why. Here's the trigger:
I have one for every player.
Code:
Player 10 Light Blue
Events
Player - Player 10 (Light Blue) leaves the game
Conditions
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + has left the game.)
Leaderboard - Remove Player 10 (Light Blue) from (Last created leaderboard)
Unit Group - Remove all units from (Units owned by Player 10 (Light Blue))
I have one for every player.