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

Exorcism

Status
Not open for further replies.
Level 5
Joined
Aug 2, 2015
Messages
69
Whats wrong with this trigger?
Im using fireball as my base ability as my hero already have Holy light which was interfering with this. The spell has 1s cast time.
  • Exorcism
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Exorcism
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Target unit of ability being cast) is Undead) Equal to False
        • Then - Actions
          • Unit - Order (Triggering unit) to Stop.
          • Quest - Display to (All players) the Warning message: |cffff0000Only work...
        • Else - Actions
 
Whats wrong with this trigger?
Im using fireball as my base ability as my hero already have Holy light which was interfering with this. The spell has 1s cast time.
  • Exorcism
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Exorcism
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Target unit of ability being cast) is Undead) Equal to False
        • Then - Actions
          • Unit - Order (Triggering unit) to Stop.
          • Quest - Display to (All players) the Warning message: |cffff0000Only work...
        • Else - Actions
I believe if you remove the Casting Time then "Begins casting" would work as you'd expect.

Try using the Event "A unit Begins channeling an ability" since that occurs at the start of the Casting Time.
 
Last edited:
That's a bit odd, it really should work with one of those solutions. I know that certain abilities won't play nice but Storm Bolt/Firebolt should definitely get interrupted.

Other solutions:

Cancel the issued Order:
  • Exorcism Interrupt Order
    • Events
      • Unit - A unit Is issued an order targeting an object
    • Conditions
      • (Issued order) Equal to (Order(firebolt))
      • (Level of Exorcism for (Triggering unit)) Greater than 0
    • Actions
      • Unit - Order (Triggering unit) to Stop.
Force the Unit to Stop by using Pause:
  • Actions
    • Unit - Pause (Triggering unit)
    • Unit - Order (Triggering unit) to Stop
    • Unit - Unpause (Triggering unit)
If on 1.31+, you can force the Unit to Stop by using a triggered Stun (preferable over pausing):
  • Actions
    • Custom script: call BlzPauseUnitEx( GetTriggerUnit(), true )
    • Unit - Order (Triggering unit) to Stop
    • Custom script: call BlzPauseUnitEx( GetTriggerUnit(), false )
 
Last edited:
Status
Not open for further replies.
Back
Top