Hey,
I'm working on a layout for oUF and I'm using individually spawned partyN frames instead of a single header as I want the frames to grow upwards. However, for some reason, the frames don't always update when joining or leaving the group, for example, entering an arena, on occasion the frames won't match up to the actual players (duplicate frames for one player, clicking one frame targets a different party member etc).
This is the code I use for spawning the frames, and is the only place where I actually call oUF_spawn on the party frames.
Code:
local party = {}
party = oUF:Spawn('header', 'oUF_Party')
party[1] = oUF:Spawn("party1", "oUF_Party1")
party[1]:SetPoint('RIGHT', player, 'CENTER', 118, 75)
for i =2, 4 do
party[i] = oUF:Spawn("party"..i, "oUF_Party"..i)
party[i]:SetPoint("TOP", party[i-1], "BOTTOM", 0, 105)
end
I've searched all over the place for someone with a similar problem but i couldn't find anything, and the few other layouts that use individual frames spawned the frames very close to the above.