• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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