Warcraft III resources & community, 2003–2006 · archived

Leaderboard

7 posts
#1

Leaderboard

How can i make a Leaderboard???
#2
Be more specific on your question. Use the Leaderboard functions no?

-Rui
#3
Depend on what leaderboard you want to do. Leaderboards can mark some many different kinds of things.
Explain clearly. :wink:
#4
a leaderboard that the player whit the most kills in some time wins, or if thats not passible the one that gets f.exs 55 kills Wins!!

do you understand, if not sry for my bad grammar in english!!
#5
You need to create an integer array varable. Then, create a trigger:
Event:
:arrow: A unit dies
Actions:
:arrow: Set VARIABLE [player number of owner of killing unit] = VARIABLE [player number of owner of killing unit] + 1.
:arrow: Change the value for owner of killing unit in last created multiboard to VARIABLE [number of owner of killing unit!

This is the trigger that changes the value for when a player kills a unit. If you don't know how to start creating a leaderboard, Post here and I may tell you. :wink:

Hope that helped.
#6
i dont know how to make a leaderboard, but yea it helped i litle thanks!!!!!!!!!!!
#7
Here are the actions:

:arrow: Create a leaderboard for all players titled (here you put the name you want to the leaderboard)
:arrow: Add player to last created leaderboard with label [name of player] and value 0 (Repeat this last action to all players you want to put in the leaderboard, or just use the action Pick every player...)
([/b]Is also advisable to you use the actions Change player label color and change player value color to display the name and the value of the the player in the leaderboard with it's own color, example, display the player 1 in the leaderboard with the red color. It is opitional but useful. [/b]
:arrow: Change the display style for last created leaderboard to show the title, show labels, show values, and show or hide here is optional icons.
:arrow: Show last created multiboard


I think that these are the unique actions needed to create a leaderboard. The action to change value I already said. Tell me again if this way not work, because I never created a leaderboard before, only Multiboards. :wink:

Oh, and remember, Leaderboards cannot be created at map initialization, then, use the event Elapsed game time is 0.1 second in this trigger. :wink: