I'm trying to figure a way to test header units (there are several threads on the issue, but they seem outdated and I wasn't able to find a solution there). So I though I'd just use oUF:SpawnHeader and feed it the same code I use to create the headers in oUF:Factory and alter is a bit so it just displays when I'm solo. This is what I got so far:
I saw another thread that says you can accomplish this by adding the nameList attribute to oUF:SpawnHeader and setting the list to your name a bunch of times, like this...
local namelist = UnitName("player")
for i = 2,5 do -- or whatever your desired group size is
namelist = namelist..","..UnitName("player")
local party = oUF:SpawnHeader(
... The rest of your attributes
And then make sure not to set a groupFilter attribute since it overrides the name list.
Unfortunately, I tried that and all I get is one frame for myself. That thread was about four years ago... I suspect group headers don't allow duplicate units now? Anyone know?