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

Windwalk required spell

Status
Not open for further replies.
Level 6
Joined
Jul 22, 2009
Messages
213
SOLVED


I want to create a spell that can only be casted if the unit is under the effects of windwalk ability but I absolutly don't know how to do this. I've tried to do something like

  • Spell
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • ((Casting unit) has buff Wind Walk) Equal to True
          • (Ability being cast) Equal to Shadow Strike
    • Actions
But when It remove the buff before casting the spell.

I will very appreciate if someone can help me.

EDIT: Can you test it before reply a theory about this.
 
Last edited:
It removes the Wind Walk buff before the spell is casted because when you cast a spell and you are "Wind Walking", the Wind Walk buff is removed. Attacking or casting a spell will cancel Wind Walk.

However, you could try using the Event:

Unit - A unit begins casting an ability

instead. That might work.
 
Well, that is kind of rude, saying that to me like I'm not going to read it. Could have just said it doesn't work.

Sorry if you take it like this, but what you said me to do doesn't work, so I'm juste asking if someone(you can be a part of this someone) have a better idea
 
  • test
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
      • (Issued order) Equal to (Order(berserk))
      • ((Triggering unit) has buff Wind Walk) Equal to True
    • Actions
      • Game - Display to (All players) the text: Windwalk
      • Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Use that event, detect the order, do the actions. I believe the order you want to detect is shadowstrike.
 
Status
Not open for further replies.
Back
Top