• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] How to Detect if Unit has specific ability?

Status
Not open for further replies.
Level 20
Joined
Jul 12, 2010
Messages
1,717
Hey guys, I need a way to detect if a unit has a specific ability.

Currently I use this:
  • (Level of Wind Walk for (Triggering unit)) Equal to 1
But I'm wondering if there is a better way to detect it?
Since I don't need to detect the level of the ability, I just need to know if that unit has the ability.

So what I basically need is something like this:
  • ((Triggering unit) has ability Wind Walk) Equal to True
This does not exist in the triggers, I just made it up as an example

Anybody has any suggestions? Maybe this trigger exists but I just couldn't find it??
 
Status
Not open for further replies.
Top