HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Ability Check

10-19-2006, 07:56 PM#1
aidan_124
Is there a way to check whether a unit has an ability?
I have an ability which requires the unit to have a second ability (given to him when he casts an earlier copy of the spell) but as the spell is upgraded by engineering upgrade style ability, I may need to give it to him if he hasn't already got it, so I need to check whether the unit has the ability. If not then give it to him else do nothing sorta thing.
10-19-2006, 08:09 PM#2
The)TideHunter(
Check if the Level of the ability for (unit) is greater than 0, or not equal to 0.