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

spell deactivation as trigger event

Status
Not open for further replies.
Level 3
Joined
Sep 20, 2007
Messages
37
for a spell like mana shield, how do i register the deactivation as an event? "begins casting" - there's no deactivation spell
"finishes casting - mana shield" registers from the activation
 
Level 8
Joined
Mar 23, 2007
Messages
302
you could do 2 Spells,
Spell 1: Activating Mana Shild
Spell 2: deActivating Mana Shild.
now both could be triggerd to turn shild on and of and you can register if it was deactivated.
 
Level 3
Joined
Sep 20, 2007
Messages
37
okay - for example
the spell should do this: absorb damage into mana using the mana shield spell and on casting should display "ON" in floating text when activated and when deactivated should display "OFF" in floating text.
 
Level 11
Joined
Aug 25, 2006
Messages
971
Uhhh, I'm kinda dry on ideas here, but here I go.

Try using a periodic check for the buff 'mana shield'. When its not there, you know they deactivated it. I would suggest a .5 second cycle for the timer
 
Status
Not open for further replies.
Top