- Joined
- May 9, 2007
- Messages
- 3,561
Why does this not work?
-
Leaderboard
-

Events
-


Time - Elapsed game time is 0.00 seconds
-
-

Conditions
-

Actions
-


Leaderboard - Create a leaderboard for (All players) titled Gold
-


Player Group - Pick every player in (All players) and do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






And - All (Conditions) are true
-







Conditions
-








((Picked player) controller) Equal to User
-








((Picked player) slot status) Equal to Is playing
-
-
-
-





Then - Actions
-






Leaderboard - Add (Picked player) to (Last created leaderboard) with label (Name of (Picked player)) and value 0
-
-





Else - Actions
-






Leaderboard - Show (Last created leaderboard)
-
-
-
-
-
-
-
Updating
-

Events
-


Unit - A unit Dies
-
-

Conditions
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




And - All (Conditions) are true
-





Conditions
-






(Owner of (Triggering unit)) Equal to Neutral Hostile
-






((Triggering unit) is A Hero) Equal to False
-
-
-
-



Then - Actions
-




Set Score[(Player number of (Owner of (Killing unit)))] = (Score[(Player number of (Owner of (Killing unit)))] + 1)
-
-



Else - Actions
-
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




And - All (Conditions) are true
-





Conditions
-






(Owner of (Triggering unit)) Equal to Neutral Hostile
-






((Triggering unit) is A Hero) Equal to True
-
-
-
-



Then - Actions
-




Set Score[(Player number of (Owner of (Killing unit)))] = (Score[(Player number of (Owner of (Killing unit)))] + 150)
-
-



Else - Actions
-
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




And - All (Conditions) are true
-





Conditions
-






(Owner of (Triggering unit)) Not equal to Neutral Hostile
-






((Triggering unit) is A Hero) Equal to True
-
-
-
-



Then - Actions
-




Set Score[(Player number of (Owner of (Dying unit)))] = (Score[(Player number of (Owner of (Dying unit)))] + 1)
-
-



Else - Actions
-
-


Leaderboard - Sort (Last created leaderboard) by Value in Descending order
-
-

