Warcraft III resources & community, 2003–2006 · archived

I need help with leaderboard

5 posts
#1

I need help with leaderboard

Can some1 show me how to make a working frag leaderboard
with wining conditions for my arena.I cant make
a proper triger it never works help plz. :cry:
#2
you'll need to make 1 variable (Example Kill[1-13] )
and 2 triggers

1st trigger:
Event
Elapse 1 second
*****
Action:
Create multiboard
for 1 to 12
if
and all true:
player(integer A) = playing
player(integer A)= human (or not equal computer)
add player(integer A) with label "Kills:" and Value" Kills[integer A]

________________________
Trigger 2
Event
unit die
Condition:
and all true
killing unit is hero = true
killing unit player = human
Action:
set kills[player number of owner of killling units]= kills[owner of killing unit] + 1
CHANGE VALUE of (owner of killing unit) to "kills[player number of owner of killing unit]"
________________________________

Best regards
Vampire[K.B.]
EOF

EOF
#3
VampireKBTrigger 2
Event
unit die
Condition:
and all true
killing unit is hero = true
killing unit player = human
Action:
CHANGE VALUE of (owner of killing unit) to "kills[player number of owner of killing unit]"


i suppose that would work... if you know, you actually decided to increment kills[]
#4
ok,i missed 1 string :P
What you wanna from a man who write a message at 10 minutes after getting up at morning lol :D
#5
VampireKBok,i missed 1 string :P
What you wanna from a man who write a message at 10 minutes after getting up at morning lol :D


PERFECTION!! and some eggos