Ok having a problem despawning party frames while in a raid.. now i dont have my own raid frames yet still use grid but i want my party frames to go bye bye when i get into a raid. this is the code i have and yeah doesnt work lol:
Code:
local party = oUF:Spawn('header', 'oUF_MooParty')
party:SetPoint('TOP', UIParent, 'BOTTOM', 0, 100)
party:SetManyAttributes("showParty", true, "showRaid", false, "columnSpacing", 10, "unitsPerColumn", 1, "maxColumns", 4, "columnAnchorPoint", "LEFT", "xOffset", 20, "oUF_MooPartyTemplate")
if(GetNumRaidMembers() > 5) then
party:Hide()
else
party:Show()
end
any help would be great