View Single Post
02-22-12, 06:24 AM   #18
Aftermathhqt
A Molten Giant
 
Aftermathhqt's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 784
Did some deep dig in. I fixed it!

What i did wrong:

LUA Code:
  1. local Aftermathh_Raid25 = oUF:SpawnHeader("Aftermathh_Raid25", nil, "solo,party,raid, custom [@raid26,exists] hide; [@raid1,exists] show; hide",

instead of

LUA Code:
  1. local Aftermathh_Raid25 = oUF:SpawnHeader(nil, nil, "solo,party,raid, custom [@raid26,exists] hide; [@raid1,exists] show; hide",

Thanks for this great feature :-)

Doh only one little problem this:



LUA Code:
  1. local raid = {}
  2. for group = 1, NUM_RAID_GROUPS do
  3.     local Aftermathh_Raid25 = oUF:SpawnHeader(nil, nil, "solo,party,raid, custom [@raid26,exists] hide; [@raid1,exists] show; hide",
  4.     'showPlayer', true,
  5.     'showRaid', true,
  6.     'showParty', true,
  7.     'showSolo', true,
  8.     'xoffset', 7,
  9.     'yOffset', -7,
  10.     --'point', 'LEFT',
  11.     --'columnAnchorPoint', 'LEFT',
  12.     'groupFilter', tostring(group),
  13.     'groupingOrder', '1,2,3,4,5',
  14.     --'groupBy', 'GROUP',
  15.     --'sortMethod', 'GROUP',   
  16.     --'maxColumns', 5,
  17.     --'unitsPerColumn', 5,
  18.     --'columnSpacing', 6,
  19.     'oUF-initialConfigFunction', [[
  20.         self:SetWidth(59)
  21.         self:SetHeight(38)
  22.         self:SetScale(1)
  23.     ]]
  24.     )
  25.  
  26.     if group > 1 then
  27.         Aftermathh_Raid25:SetPoint('TOPLEFT', raid[group - 1], 'TOPRIGHT', 7, 0)
  28.     else
  29.         Aftermathh_Raid25:SetPoint('LEFT', UIParent, 221, -54)
  30.     end
  31.     raid[group] = Aftermathh_Raid25
  32. end

Last edited by Aftermathhqt : 02-22-12 at 07:28 AM.
  Reply With Quote