HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

detecting the deactivation of abilities

11-14-2005, 09:43 PM#1
Mystic Prophet
Is there anyway to detect when a unit deactivates an ability such as immolation or divine shield? the stops casting and finishes casting events happen without deactivating the spell, so i'm at a loss on how to do this.
11-15-2005, 12:17 AM#2
Elven Ronin
Quote:
Originally Posted by Mystic Prophet
Is there anyway to detect when a unit deactivates an ability such as immolation or divine shield? the stops casting and finishes casting events happen without deactivating the spell, so i'm at a loss on how to do this.

In that case I usually just use 'is issued an order' type events. Then you can just look at the ability for the deactivate/turn off, and use that as the condition.
11-15-2005, 06:30 PM#3
Vexorian
That doesn't work when the ability is deadtivated automatically.

Just keep looking until the unit no longer has the Immolation (caster) buff (or equivalents)
11-16-2005, 11:56 PM#4
Mystic Prophet
Hmm good point, I hadnt thought of when the mana runs out. so if i detect for the caster having the immolation buff equal to true or false then it should work yes? I'll try it out.