Party frames do not allow click-casting
Snakybo opened this issue ยท 3 comments
The new frame pool system changed the way party frames work. The existing PartyMemberFrameN
globals were removed and instead new unnamed frames are being created.
Yeah, I've been able to make the compact frames work by adding them as @Toludin mentioned:
table.insert(unitFrames[""], "CompactPartyFrameMember1")
table.insert(unitFrames[""], "CompactPartyFrameMember2")
table.insert(unitFrames[""], "CompactPartyFrameMember3")
table.insert(unitFrames[""], "CompactPartyFrameMember4")
table.insert(unitFrames[""], "CompactPartyFrameMember5")
Without doing that, and with the below snippet, all the compact frames work except the player's.
For the standard frames, they work if I insert this into RegisterBlizzardUnitFrames
:
for memberFrame in PartyFrame.PartyMemberFramePool:EnumerateActive() do
Clicked:RegisterClickCastFrame("", memberFrame)
end