Posted by Balu90 on Wed, 08 Sep 2010 10:44:52
I'm searching for a event that fires, when a raid- or group member died, without parsing the combatlog.
Is there any possibility?
Posted by jnwhiteh on Wed, 08 Sep 2010 10:46:31
Join a group, turn on /eventtrace and then have a party member die. See what events fire. Alternatively, you can look at the default party frames to see how they determine if the member has died.
Posted by Balu90 on Wed, 08 Sep 2010 10:53:42
ok thank you.
If I'm back from work I'll have a try and send a reply here.
Posted by Balu90 on Thu, 09 Sep 2010 11:53:11
ok I've found a solution but still untested.
I've took the "UNIT_HEALTH" event and check per GetRaidRosterInfo() the isdead Parameter. If the player is dead, I save the name in a table with all dead players. If he is revived I delete his name out of the table.
I think this should work...
Posted by jnwhiteh on Thu, 09 Sep 2010 13:06:52
You shouldn't have to check on every
UNIT_HEALTHevent, just those where the player's current health is <= 0, right?
Posted by Balu90 on Thu, 09 Sep 2010 20:37:50
Yes thats right but I found no other Event ...
Posted by jnwhiteh on Thu, 09 Sep 2010 21:59:13
That's fine, but you don't need to check it with every single
UNIT_HEALTHevents, just those when the health of the unit is negative. That' sit.