Warcraft III resources & community, 2003–2006 · archived

Uh.. question about a JASS snippet in the download section..

3 posts
#1

Uh.. question about a JASS snippet in the download section..

I saw a snippet called "ForEachAbilityOnUnit" and I was wondering what exactly it does/can be used for, since the description seems somewhat vague. Also, can it be used on multiplayer? (Since it seems to use Game Cache?)
#2
Sounds to me like it lets you loop through the abilities on a unit, possibly to check if a unit has those abilities.

I believe there's a function to check if a unit has a buff, but I can't recall seeing one for checking if it has abilities.
#3
I have seen it only once btw ,and if i remember correctly returns the number of abilities a unit has.

if you could post the link to it,I could give you an exact answer.