View Single Post
06-30-10, 06:27 PM   #25
vlakarados
An Aku'mai Servant
 
vlakarados's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 36
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

Last edited by vlakarados : 06-30-10 at 06:52 PM.
  Reply With Quote