Originally Posted by ProfOak
Hi.
I'm trying to find out which event is triggered when you have a target that dies and without desselecting it, either it is rezzed or it rezzes after being dead.
No clue if I'm explaning right O.o
Okie, maybe explaining the point, a part of an addon I'm developping, shows a target's health, usually it's a palyer in party/raid. When target dies, I hide health information, and I would like to have it back display when the target gets back to life, either due to get rezzed by me or some1 or by rezzing it self, after being a ghost that is.
The prob is that I cant find the event that triggers here, UPDATE_SELECTED_CHARACTER dont fire... i think cause i doesnt work, nor UNIT_HEALTH, since the target didnt got any healing or dmg.
Any clues bout in which events shall I put the health to be showned ?
Thank You all for reading and helping
Cheers
|
As far as I'm aware there is no event for this. You'll just have to repeatedly check if he's dead using the UnitXX functions and respond accordingly. OnUpdate will be useful for this, but please keep the processing to a minimum.