Rather than bump my
old thread on this, I figured I would just open a new one. I seem to be having some difficulty using NAMELIST as a sortMethod. The "nameList" line is making my party frames completely despawn (with no Lua errors), and when I comment out the "nameList" line, the party frames reappear as usual.
Any help is appreciated. Thanks!
Code:
-- Party Frames
if cfg.ShowParty then
self:SetActiveStyle('failGroup')
local party = oUF:SpawnHeader('oUF_Party', nil, 'custom [group:party,nogroup:raid][@raid1,noexists,group:raid] show;hide',
"showParty", cfg.ShowParty,
"showPlayer", true,
"yoffset", -20,
"sortMethod", "NAMELIST",
"nameList", "iililliill,iilliiliil,iilillilil,iilillilii,iilillilli",
"oUF-initialConfigFunction", ([[
self:SetWidth(%d)
self:SetHeight(%d)
]]):format(170, 30))
party:SetScale(cfg.partyScale)
party:SetPoint('BOTTOM', UIParent, 'CENTER', cfg.PartyX, cfg.PartyY)
end