Warcraft III resources & community, 2003–2006 · archived

Need help on creatin leaderboards

3 posts
#1

Need help on creatin leaderboards

hi im kinda noob and im having trouble on creating a leaderboard.

i wanted to create a leaderboard which shows the players deaths and kills of there unit.
#2
There is a section in the action list with the heading "Leaderboard". Most of your actions will be there.

You need to create a leaderboard, set it to a leaderboard variable, and show it for the players.

You need to loop through all 12 (or however many) players and add them to the leaderboard.

You need to have a trigger that runs when a player kills a unit, and adds one to the value of that player in the leaderboard.

It's much easier to manage than a multiboard. You should be able to figure it out through experimentation.
#3
someone should come up with a tutorial to help people with that

if you have made a leaderboard and it doesnt change then add in a trigger to sort it every 0.2 secs or something