Originally Posted by mikey2k
but still cant ge the raid icons to go away when solo or not leader or assistant in a raid, any ideas?
|
No idea if this would work or not, but if they are set up as a panel of their own, could you use an "onload" and "onevent" script?
OnLoad something like this:
self:RegisterEvent("PARTY_MEMBERS_CHANGED")
self:RegisterEvent("RAID_ROSTER_UPDATE")
OnEvent something like this:
local pmems = GetNumPartyMembers()
local rmems = GetNumRaidMembers()
if (pmems < 1 and rmems < 6) then
self:Hide()
else
self:Show()
end
This would not solve the not being leader problem, but maybe the show/hide when not in a group or raid?