Quantcast WoWInterface - View Single Post - PerfectRaid 0.1.3-Beta FAQ
View Single Post
01-07-07, 01:45 PM   #11
Strand
A Kobold Labourer
Join Date: Jan 2007
Posts: 1
Originally Posted by krinla
1. Find and unncomment this line in blue :
Code:
-- 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:
Code:
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)
(thanks Shadmar)
The above code will make druids kinda sad. Maybe:

2. Add this just below the section above:
Code:
self:CreateRaidFrame("PRHeader1", "Warrior", "WARRIOR", nil, PRHeader1)
self:CreateRaidFrame("PRHeader2", "Priest", "PRIEST", nil, PRHeader1)
self:CreateRaidFrame("PRHeader3", "Pally", "PALADIN", nil, PRHeader1)
self:CreateRaidFrame("PRHeader4", "Druid", "DRUID", 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)
And if you're Horde side:

Code:
self:CreateRaidFrame("PRHeader3", "Shaman", "SHAMAN", nil, PRHeader1)
Instead of the paladin line.
  Reply With Quote