Thread: rmod Layouts
View Single Post
Old 03/21/08, 2:32 PM   #91 (permalink)
Rieux
Von Kaiser
 
Night Elf Druid
 
Vashj
Originally Posted by Auralin View Post
I'm having trouble figuring out what text to alter to hide the raid frames in rUnits, If anyone could help, I would apprciate it.
local temptoggle = CreateFrame"Frame"
  temptoggle:SetScript("OnEvent", function(self, event, ...)
      if GetNumRaidMembers() > 1 then
          raid:Hide()
      elseif GetNumPartyMembers() > 1  then
          party:Show()
      end
  end)
The original code is found in the layout.lua file, near the very bottom.
 
User is offline.
Reply With Quote