Originally Posted by Luzzifus
Like this (e.g. in your style function or update hooks):
Code:
local unitInRaid = self:GetParent():GetName():match"oUF_Raid"
local unitInParty = self:GetParent():GetName():match"oUF_Party"
local unitIsPartyPet = unit and unit:find('partypet%d')
if unitInRaid or unitInParty or unitIsPartyPet then
...
end
|
Using (self:GetParent():GetName():match"oUF_Raid") adjusts the layout on all members of my raidgroup. I haven't found a way to display a manabar for only those that have mana yet.