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

Order

Status
Not open for further replies.
Level 5
Joined
Jul 15, 2012
Messages
101
When i do this:

  • No abilities
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Arena <gen> contains (Casting unit)) Equal to False
    • Actions
      • Unit - Order (Casting unit) to Stop
unit still casts an ability
 
Invisibility is cast with
  • Unit - A unit Starts the effect of an ability
or
  • Unit - A unit Begins channeling an ability
or
  • Unit - A unit Begins casting an ability
and with
  • No abilities
    • Events
      • Unit - A unit Starts the effect of an ability
      • Unit - A unit Begins channeling an ability
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Arena <gen> contains (Casting unit)) Equal to False
    • Actions
      • Unit - Order (Triggering unit) to Stop
but other abilities is not cast with 3 events at the same time but uses mana (and no cooldown)




Licheus said:
Does the Arena contain the Casting unit? :ogre_hurrhurr:

Nope, unit is not in arena.
 
Invisibility is cast with
  • Unit - A unit Starts the effect of an ability
or
  • Unit - A unit Begins channeling an ability
or
  • Unit - A unit Begins casting an ability
and with
  • No abilities
    • Events
      • Unit - A unit Starts the effect of an ability
      • Unit - A unit Begins channeling an ability
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Arena <gen> contains (Casting unit)) Equal to False
    • Actions
      • Unit - Order (Triggering unit) to Stop
but other abilities is not cast with 3 events at the same time but uses mana (and no cooldown)






Nope, unit is not in arena.

As far as I know, 'Unit Begins channeling an ability' should work.

If I recall correctly, even though the ability isn't channeled, that refers to as soon as the hero meets the conditions to begin casting the spell he was ordered to.

Maybe try using 'Triggering Unit' for the conditions too? I doubt that's the problem though.

Also, what is (or are) the ability(ies) you're trying to stop?
 
Last edited:
Define casting ability. What ability? Is your Invisibility in fact Windwalk?
This trigger will work for most usual abilities.
Instant abilities will not be affected. Eg Berserk, Avatar, Windwalk.

Alternatively, you can try this:
Code:
    Events
        Unit - A unit Is issued an order with no target
    Conditions
        (Issued order) Equal to (Order(berserk))
        Arena <gen> contains (Triggering unit)) Equal to False
    Actions
        Unit - Pause (Triggering unit)
        Unit - Order (Triggering unit) to Stop
        Unit - Unpause (Triggering unit)

And of course, the Casting unit can be an issue sometimes as mentioned in post above. Use Triggering unit and see if it changes anything.
 
  • Untitled Trigger 006
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
      • (Issued order) Equal to (Order(windwalk))
      • (Arena <gen> contains (Triggering unit)) Equal to False
    • Actions
      • Unit - Pause (Triggering unit)
      • Unit - Order (Triggering unit) to Stop
      • Unit - Unpause (Triggering unit)
Works, thanks vypur85.
 
Status
Not open for further replies.
Back
Top