Is it possible to create a party frame with this template which always shows your group?
I have tried to mess around with the attributes, but no luck so far.
I would need something like this but securely:
Lua Code:
local playerGroup
for i = 1, GetNumGroupMembers() do
local name, _, subgroup = GetRaidRosterInfo(i)
if (name == UnitName("player")) then
playerGroup = subgroup
break
end
end
self.header:SetAttribute("groupFilter", tostring(playerGroup))