Ok im trying to get leaderboards working, iv been useing the tutorial here on hive.
I got the first trigger working good and all, but the second one I seem to be having compilations.

I got the first trigger working good and all, but the second one I seem to be having compilations.
-
Untitled Trigger 001
-
Events
-
Time - Elapsed game time is 0.00 seconds
-
-
Conditions
-
Actions
-
Leaderboard - Create a leaderboard for (All players) titled Score
-
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
-
((Picked player) controller) Equal to User
-
((Picked player) slot status) Equal to Is playing
-
-
Then - Actions
-
Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label (Name of (Picked player)) and value 0
-
-
Else - Actions
-
-
-
-
Leaderboard - Show (Last created leaderboard)
-
-
-
Untitled Trigger 002
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
((Dying unit) belongs to an enemy of (Owner of (Killing unit))) Equal to True
-
-
Actions
-
Set PlayerKills[(Player number of (Owner of (Killing unit)))] = PlayerKills[((Player number of (Owner of (Killing unit))) + 1)]
-
Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to (Player number of (Owner of (Killing unit)))
-
Leaderboard - Sort (Last created leaderboard) by Value in Descending order
-
-
-
Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to PlayerKills[(Player number of (Owner of (Killing unit)))]