Warcraft III resources & community, 2003–2006 · archived

a ability problem

5 posts
#1

a ability problem

how can i make the number of ability casted by a certain unit on the ladderboard?
#2
Add 1 poiny to the value of an Integer variable everytime a unit cast an ability. So, the leaderboard must display this variable.
#3
can u do the trigger for me? am not good with variabels :(
#4
they're so simple, almost any good map uses variables! LEARN THEM it will make triggering easier
#5
Basic Variables:
int = integer = 1,2,3,4,5 and so on

real = real value = 1.00, 1.01,1.02,2.01, and so on

boolean = True or False, usually used to return a condition like..

int a = 10
if a > 5
return true
else
return false
endif

thats a simplified function

objects can also be variables, such as units, unitgroups, players, items, etc.

Its very basic math. If you passed elementary school you should be able to get it.