View Single Post
09-01-14, 12:08 AM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
I assume the original code read:

Code:
local party = oUF:SpawnHeader('oUF_Party', nil, 'custom [grouparty,nogroup:raid][@raid6,noexists,group:raid] show;hide',
--local party = oUF:SpawnHeader('oUF_Party', nil, "solo", "showSolo", true, -- debug
"showParty", cfg.ShowParty,
"showPlayer", true,
"yoffset", -20,
"groupingOrder", "1,2,3,4,5,6,7,8",
"oUF-initialConfigFunction", ([[
self:SetWidth(%d)
self:SetHeight(%d)
]]):format(128, 25))
In which case you just need to add the attribute and value in the list of attributes and values that already exists, not add a new SpawnHeader call in the middle of the list:

Code:
local party = oUF:SpawnHeader('oUF_Party', nil, 'custom [grouparty,nogroup:raid][@raid6,noexists,group:raid] show;hide',
--local party = oUF:SpawnHeader('oUF_Party', nil, "solo", "showSolo", true, -- debug
"showParty", cfg.ShowParty,
"showPlayer", true,
"yoffset", -20,
"groupingOrder", "1,2,3,4,5,6,7,8",
"sortMethod", "NAME",
"oUF-initialConfigFunction", ([[
self:SetWidth(%d)
self:SetHeight(%d)
]]):format(128, 25))
As for adding pet frames, that's much more complicated, as many parts of the code would need to be modified to support those units, and new parts would need to be added, and I just don't have any interest in rewriting someone else's addon for you, sorry.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote