Originally Posted by Annekynn
Sorry to resurrect an old thread but this code has ceased working due to changes in 5.x , specifically this bit:
Can any of you smart folks fix that so it works?
|
Code:
for i = 1 , GetNumGroupMembers() do
local name, _, subgroup = GetRaidRosterInfo(i)
if (name == Name(unit)) then
return subgroup
end
end
should be sufficient
Edit:
Ah, if there's any PARTY_MEMBERS_CHANGED, RAID_ROSTER_UPDATE events they should both be replaced with GROUP_ROSTER_UPDATE.