Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Kills

Events


Unit - A unit Dies

Conditions

Actions


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


Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to Kills[(Player number of (Owner of (Killing unit)))]
Kills

Events


Unit - A unit Dies

Conditions

Actions


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


Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to Kills[(Player number of (Owner of (Killing unit)))]


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



If - Conditions




Kills[(Player number of (Owner of (Killing unit)))] Equal to 20



Then - Actions




Game - Victory (Owner of (Killing unit)) (Show dialogs, Show scores)



Else - Actions
No, you made an error copying the trigger into your map. Only other possibly is you created another leaderboard and now last created leaderboard doesn't refer to the board you think it does. Don't make multiple leaderboards, you can only have one shown at a time. Also use a variable instead of "last created X" type objects.I have a starnge problem: I do all that Danethebeast say but values in the leaderboard does't change. please help me.
Triggering Unit here refers to the dying unit, not the unit that did the killing. Thus, the leaderboard only gets updated when uniit kills a hero, rather than when a hero kills anything . I think you want this to be: ((Killing unit) is A Hero) Equal to True((Triggering unit) is A Hero) Equal to True
Wrong, in GUI, when leaderboard is created, it is shown to all players in the player group by default.Lastly, you also need to show leader board to all players, I believe it is hidden by default.
