#1
Leaderboard
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled Hero Kills
Leaderboard - Show (Last created leaderboard)
Wait 0.20 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 1 (Red) slot status) Equal to Is playing
Then - Actions
Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label (Name of Player 1 (Red)) and value 0
Else - Actions
Leaderboard Updater
Events
Time - Every 0.50 seconds of game time
Conditions
Actions
Leaderboard - Sort (Last created leaderboard) by Value in Descending order
Red Kills
Events
Unit - A unit Dies
Conditions
((Dying unit) belongs to an enemy of Player 1 (Red)) Equal to True
(Killing unit) Equal to z_Red
Actions
Set aR = (aR + 1)
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to aR
Red Leaves
Events
Player - Player 1 (Red) leaves the game
Conditions
Actions
Unit - Remove z_Red from the game
Game - Display to (All players) for 10.00 seconds the text: ((Name of Player 1 (Red)) + has left the game.)
Leaderboard - Remove Player 1 (Red) from (Last created leaderboard)