Originally Posted by yj589794
|
Doesn't work for me O.o Just getting 19 pages of errors.
LUA Code:
oUF:RegisterStyle('Aftermathh_Raid', RaidFrames)
oUF:Factory(function(self)
self:SetActiveStyle('Aftermathh_Raid')
local toStr = tostring
if AftermathhUI.ouf.showraid == true then
for group = 1, NUM_RAID_GROUPS do
local Raid = self:SpawnHeader("AftermathhRaidGrid", nil, 'solo,party,raid',
'showPlayer', true,
'showRaid', true,
'showParty', true,
'showSolo', true,
'xoffset', 7,
'yOffset', 0,
'point', 'LEFT',
'groupFilter', toStr(group),
'groupingOrder', '1,2,3,4,5,6,7,8',
'groupBy', 'GROUP',
'sortMethod', 'GROUP',
'maxColumns', 5,
'unitsPerColumn', 5,
'columnSpacing', 6,
'columnAnchorPoint', 'TOP',
'oUF-initialConfigFunction', [[
self:SetWidth(59)
self:SetHeight(38)
self:SetScale(1)
]]
)
Raid:SetPoint('LEFT', UIParent, 221, -54)
end
end
end)