• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

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

Status
Not open for further replies.
Level 20
Joined
Jul 12, 2010
Messages
1,737
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