- Joined
- Feb 18, 2007
- Messages
- 216
So here's my leaderboard which shows kills of all players:
-
Scoreboard
-
Events
- Time - Elapsed game time is 1.00 seconds
- Conditions
-
Actions
- Leaderboard - Create a leaderboard for (All players) titled Kills
- Set board = (Last created leaderboard)
- Player Group - Pick every player in (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User))) and do (Leaderboard - Add (Picked player) to board with label (Name of (Picked player)) and value kills[(Player number of (Picked player))])
-
Events
-
Kill
-
Events
- Unit - A unit Dies
-
Conditions
- ((Killing unit) belongs to an enemy of (Owner of (Dying unit))) Equal to True
-
Actions
- Set kills[(Player number of (Owner of (Killing unit)))] = kills[((Player number of (Owner of (Killing unit))) + 1)]
- Player Group - Pick every player in (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User))) and do (Leaderboard - Change the value for (Picked player) in board to kills[(Player number of (Picked player))])
-
Events