HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Ability Turn Off Event?

04-20-2008, 09:49 PM#1
divo
How can I detect when an ability like Immolation is turned off? I've tried using EVENT_UNIT_SPELL_ENDCAST and EVENT_UNIT_SPELL_FINISH but they both trigger upon activation. Please advice.
04-20-2008, 09:51 PM#2
Rising_Dusk
EVENT_PLAYER_UNIT_ISSUED_ORDER
Check if the order is unimmolation's.
04-20-2008, 10:10 PM#3
divo
Thanks for the quick response I will try your method. +rep.
04-20-2008, 10:26 PM#4
Captain Griffen
Of course, mana can also cause it to turn off, etc. I find that waiting until it no longer has the buff is the most accurate and pain free way.
04-20-2008, 10:27 PM#5
Rising_Dusk
I agree with CG about the buff monitoring (That's how I do it in maps), but if you strictly want to detect the instant of turnoff then there's no more accurate way than catching the order.
04-21-2008, 12:17 PM#6
divo
Thanks CG, I didn't even think about that. I will use buff monitoring too. +rep.