W
War-Crafter
Guest
ok im making a leader board and im working on the tallying system. this is the trigger im using.
Trigger Tally Score
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)))] + 1)
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
under the first action it says +1 but when i make it i cant figure out how to add the +1 part. when i use my map it doesnt add 1 for every kill like i want it to. help plz
Trigger Tally Score
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)))] + 1)
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
under the first action it says +1 but when i make it i cant figure out how to add the +1 part. when i use my map it doesnt add 1 for every kill like i want it to. help plz