Hello. So i've been using a step by step guide to make a leaderboard for my map. I just see one difference, which I cannot figure out how to fix.
This is the last step in the guide. I've underlined and marked my issue. I have the exact same trigger, I just done have that single +1.
I've attached a screenshot of my trigger, just in case.
Any help much appreciated!
Code:
Events
Unit - A unit Dies
Conditions
((Killing unit) belongs to an ally of Player 1 (Red)) Equal to True
Actions
Set Player_Kills[(Player number of (Owner of (Killing unit)))] = (Player_Kills[(Player number of (Owner of (Killing unit)))] [U]+ 1)[/U]
Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to Player_Kills[(Player number of (Owner of (Killing unit)))]
Leaderboard - Sort (Last created leaderboard) by Value in Descending order
This is the last step in the guide. I've underlined and marked my issue. I have the exact same trigger, I just done have that single +1.
I've attached a screenshot of my trigger, just in case.
Any help much appreciated!