• 🏆 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!

How to detect Defend is Cast?

Status
Not open for further replies.
Level 8
Joined
Mar 26, 2009
Messages
301
  • Defend Ability Event
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Defend
    • Actions
      • Do - Blah Blah
Trigger goes like this but:
1-) Trigger appearantly does not detect anything, nor does anything about "blah blah" action =)
2-) Defend is a turn on/off ability. I want to be able to refer to "turn off" part with triggers, so I can do something like this:
turn on defend -> do this
turn off defend -> do that
How do we do that? =D
BTW: I tried events with "start channeling" and "begins casting" too, they didn't work either.
 
Level 8
Joined
Mar 26, 2009
Messages
301
Thank you. And one more question if I may =)
I am using KonstruktMarine model. It is using "defend" tag for a prone animation. So when I click defend, it goes into prone although "Animation Names" section of the ability is empty.
I tried adding a "Reset Animation" and "play unit animation -stand" trigger but it doesn't work probably the event refers to the moment order is given, not to the time where "unit start the ability of an effect" How do suggest that I fix this? =)
 
Status
Not open for further replies.
Top