could I ask you to point me in the right direction of adding raid frames to this layout? simply can't get it, how it should be done..
I've copied
Code:
local Raid = {}
local group = 0
for i = 1, 5 do
local RaidGroup = oUF:Spawn("header", "oUF_Raid" .. i)
RaidGroup:SetManyAttributes("groupFilter", tostring(i), "showRaid", true, "yOffset", 3, "point", "BOTTOM", "sortDir", "DESC")
table.insert(Raid, RaidGroup)
if i == 1 then
RaidGroup:SetPoint("TOPLEFT", UIParent, 5, -25)
else
RaidGroup:SetPoint("TOPLEFT", Raid[i-1], "TOPRIGHT", 3, 0)
end
group = group + 1
RaidGroup:Show()
end
and similar from dozens of layouts, but each and every one returns me an error:
oUF_Simple\core.lua:164: attempt to index local 'RaidGroup' (a nil value)
please