• Check out the results of the Techtree Contest #19!
  • 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 void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Need Trigger: If hero has specific ability.

Status
Not open for further replies.
Level 6
Joined
Jun 11, 2007
Messages
75
For my latest map project, I need to make a trigger that is activated if the triggering hero/unit has a certain spell.

For Example:

Unit-Unit enters region

Condition-Triggering unit know/has "name of ability" (This is the thing i can't find, but i need).

Actions- Do something...

I can't seem to locate this Condition in GUI, but i'm sure it exists in the WE. So can anyone try to create a trigger with this working, or give me the JASS line for it.
 
DeftheLynn's recommendation is the best solution, because it will check the level of the ability, if it is zero, then the trigger will check the ability as null and also it will not execute the actions.
 
Status
Not open for further replies.
Back
Top