HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How do you detect when an ablity is turned off?

01-25-2004, 02:52 PM#1
emil.holmstrom
I would like to know how you detect when an ability is turned off because of lack of mana (base spell immolation). I know how you detect when it is turned off the regular way, so don't tell me to do a trigger with the event: a unit is issued an order with no target, and the condition: issued order equal to unimmolation.

Any help would be appreciated.:D
01-25-2004, 02:53 PM#2
AllPainful
Event = Unit stops casting spell

or

Event = Unit finishes casting a spell
01-25-2004, 04:13 PM#3
emil.holmstrom
Nope, none of them working, maybe you could check when his mana is near 0...
01-25-2004, 08:37 PM#4
Daleth
When it's turned off, even automatically, its deactivation order should still be sent. So, assuming you're using immolation, detecting an unimmolation order SHOULD theoretically work.