So with 3.0.2 basically frying every single one of my neural synapses (horray for no mounts other than your AQ bug!), I committed the cardinal sin of not backing up my addons before making changes.
(Bad me, I know, I know.)
So I had to start from scratch with oUF. And I need my raid frames replaced. I figured this out once before, but like an idiot, I forgot to remember how I did it.
Hence I am humbly asking for help.
I need to take this code:
Code:
local Raid = {}
for i = 1, NUM_RAID_GROUPS do
local RaidGroup = oUF:Spawn("header", "oUF_Raid" .. i)
RaidGroup:SetAttribute("groupFilter", tostring(i))
RaidGroup:SetAttribute("showRaid", true)
RaidGroup:SetAttribute("yOffset", -10)
RaidGroup:SetAttribute("point", "TOP")
RaidGroup:SetAttribute("showRaid", true)
table.insert(Raid, RaidGroup)
if i == 1 then
RaidGroup:SetPoint("TOPLEFT", UIParent, 35, -35)
else
RaidGroup:SetPoint("TOPLEFT", Raid[i-1], "TOPRIGHT", 10, 0)
end
RaidGroup:Show()
end
And move the raid frames down (I do know how to do that...) but also to re-'break' the raid frames.
I know that I need to do
[/code]
for i = 1, NUM_RAID_GROUPS do
[/code]
to
[/code]
for i = 1, 5 do
[/code]
to get the full 25 in the center of my screen.
But now I'm lost. I'm pretty sure that I need to change
Code:
if i == 1 then
RaidGroup:SetPoint("TOPLEFT", UIParent, 35, -35)
else
RaidGroup:SetPoint("TOPLEFT", Raid[i-1], "TOPRIGHT", 10, 0)
end
RaidGroup:Show()
end
to
Code:
if i == 6 then
RaidGroup:SetPoint(side of the screen!)
elseif i == 7 then
RaidGroup:SetPoint(still on the side)
elseif i == 8 then
RaidGroup:SetPoint(and on the side still)
end
RaidGroup:Show()
end
But when I tried it earlier tonight, it broke all the frames. =\ Did I not remember correctly and do it wrong?