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

[Spell] Let's deactivate the activated spell!

Status
Not open for further replies.
Level 4
Joined
Aug 26, 2012
Messages
123
Hello, Hivers!
(Hi, Hivers!)

I want to ask, how to triggering an activate-deactivate ability, so that the trigger effect will be over when I deactivate it?
(Such as immolation, or divine shield...)

I have try "Unit - A unit Stop casting an ability" event but it won't work.
I also try to use dummy ability with same orderID with the ability's deactivate orderID, still won't work.
Any idea?

(Maybe if you bribe the ability well enough to buy 1 icecream per day, she will work...)
 
Level 4
Joined
Aug 26, 2012
Messages
123
Thanks for the answer, but I want the ability can be deactivated anytime I want, and reactivate it after that anytime I want.

(Just weird example of his problem. The ability: when activate immolation, she will summon fireunit. when she deactivate immolation, she will summon iceunit.
But the problem is, when she dactivate --the icon change--, the ability does nothing. when she reactivate, she summons fireunit....)
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Since no one has provided an example with trigger;
  • Melee Initialization
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
      • (Level of Immolation for (Triggering unit)) Greater than 0
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Issued order) Equal to (Order(immolation))
        • Then - Actions
          • -------- Activate ability --------
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Issued order) Equal to (Order(unimmolation))
            • Then - Actions
              • -------- Deactivate ability --------
            • Else - Actions
 
Status
Not open for further replies.
Top