Quantcast
WoWInterface - View Single Post - A little script help for kgpanels
View Single Post
07-09-09, 03:16 PM   #2
Katae
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Jun 2007
Posts: 208
Code:
local party, mode = GetNumPartyMembers(), GetCurrentDungeonDifficulty()

-- hide both
PANEL1:Hide()
PANEL2:Hide()

-- 10 man normal mode
if party > 5 and mode == 1 then
    PANEL1:Show()

-- 25 man heroic mode
elseif party > 10 and mode >= 2 then
    PANEL2:Show()
end
Drycoded, but hope it helps

Last edited by Katae : 07-09-09 at 03:46 PM.
  Reply With Quote