• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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

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