Warcraft III resources & community, 2003–2006 · archived

Leader board question

4 posts
#1

Leader board question

hey guys, i know how to make a leaderboard and shit but i gotta figure out the variables and stuff like that to make it work so each time my hero kills a unit it counts on the leaderboard, I looked on the tutorial in german and the translation but it did no good. Plz help!

-Pr0-MazeR
#2
You first need to create a varible. Intanger would be best sence it stores whole numbers (1,15,66,205,ect.)
You could use Real but it uses fractions. (1.02,21.99,ect)

Once you have the varible (named probobly Kills or somthing) Make a new trigger.
Event: Unit dies
Condtion: Owner of killing unit = Player 1
Event: Set 'Kills' to ('Kills'+1)

Then add the leaderboard display at the end of that trigger so it updates asap.
#3

hehe

Thx XelNaga that rly helped!