Thread Tools Display Modes
Prev Previous Post   Next Post Next
12-19-08, 12:08 AM   #11
Dissident
An Aku'mai Servant
Join Date: Jun 2008
Posts: 30
Originally Posted by mikey2k View Post
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?
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » Released Compilations » Freshui - Mazzle wannabe


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off