Posted by kevinmd88 on Wed, 19 Jun 2013 14:25:49
How do most addons/programmers detect when your group has wiped (i.e. a specific boss encounter has reset)? I can't find any events in the API on this site...
Posted by tom022 on Wed, 19 Jun 2013 15:23:26
i thik you can check is boss still in fight evry raid member died.
Posted by kevinmd88 on Wed, 19 Jun 2013 15:29:29
Could UnitAffectingCombat be used with the bossN units? I can't believe I didn't think of that:
if UnitAffectingCombat("boss1") then -- Boss is in combat, therefore it has a player to be in combat with and a wipe has not occurred end
Anything wrong with that approach?
Posted by tom022 on Wed, 19 Jun 2013 15:59:57
It looks fine. Check it in game. Should work.