Code:
Player Leave
Events
Player - Player 1 (Red) leaves the game
Player - Player 2 (Blue) leaves the game
Player - Player 3 (Teal) leaves the game
Player - Player 4 (Purple) leaves the game
Player - Player 5 (Yellow) leaves the game
Player - Player 6 (Orange) leaves the game
Player - Player 7 (Green) leaves the game
Player - Player 8 (Pink) leaves the game
Player - Player 9 (Gray) leaves the game
Player - Player 10 (Light Blue) leaves the game
Player - Player 11 (Dark Green) leaves the game
Player - Player 12 (Brown) leaves the game
Conditions
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + has left the game.)
Set TempUnitGroup = (Units owned by (Owner of (Triggering unit)))
Unit Group - Pick every unit in TempUnitGroup and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Custom script: call DestroyGroup(udg_TempUnitGroup)
Anyone know why the above code might not work? It doesn't display message that the player left the game.. And no other messages will display after this one is displayed...
Code:
Akatsuki Timer Expires
Events
Time - CountdownTimer1 expires
Conditions
Actions
Unit - Make Akatsuki Hideout 0012 <gen> Vulnerable
Countdown Timer - Destroy (Last created timer window)
Unit - Unpause Uchiha Itachi 0013 <gen>
Unit - Make Uchiha Itachi 0013 <gen> Vulnerable
Sound - Play ArrangedTeamInvitation <gen>
Set TempPlayerGroup = (All players)
Game - Display to TempPlayerGroup the text: |cffff0000The Akats...
-------- --------
Countdown Timer - Start CountdownTimer2 as a One-shot timer that will expire in 1500.00 seconds
Countdown Timer - Create a timer window for (Last started timer) with title Receive gold in:
Countdown Timer - Show (Last created timer window)
Custom script: call DestroyForce(udg_TempPlayerGroup)