Quantcast
WoWInterface - View Single Post - PerfectRaid 0.1.3-Beta FAQ
View Single Post
01-06-07, 11:12 AM   #9
shadmar
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Jun 2006
Posts: 4
How to display by Class and not by Group :

1. Find and unncomment this line in blue :

-- TODO: Make this so we can actually instantiate frames as the users wants
for i=1,8 do
local name = "PRHeader"..i
self.db.profile.headers[name] = setmetatable({}, {__index=self.headerDefaults})
-- local header = self:CreateRaidFrame(name, "Group "..i, tostring(i), nil, PRHeader1)
end

2. Add this just below the section above:

self:CreateRaidFrame("PRHeader1", "Warrior", "WARRIOR", nil, PRHeader1)
self:CreateRaidFrame("PRHeader2", "Priest", "PRIEST", nil, PRHeader1)
self:CreateRaidFrame("PRHeader3", "Pally", "PALADIN", nil, PRHeader1)
self:CreateRaidFrame("PRHeader4", "Shammy", "SHAMAN", nil, PRHeader1)
self:CreateRaidFrame("PRHeader5", "Rogue", "ROGUE", nil, PRHeader1)
self:CreateRaidFrame("PRHeader6", "Mage", "MAGE", nil, PRHeader1)
self:CreateRaidFrame("PRHeader7", "Warlock", "WARLOCK", nil, PRHeader1)
self:CreateRaidFrame("PRHeader8", "Hunter", "HUNTER", nil, PRHeader1)
/cheers

Last edited by shadmar : 01-06-07 at 11:14 AM.
  Reply With Quote