Digging a little deeper I found
this thread about getting
oUF_BarFader to work.
In an attempt to get this working, does post
#3 from that thread still hold true or is this now completely outdated with the newest version of oUF?
Originally Posted by Rainrider
oUF_BarFader is outdated but easy to fix.
UNIT_FOCUS, UNIT_ENERGY, UNIT_RAGE, UNIT_MANA and UNIT_RUNIC_POWER got merged into UNIT_POWER.
UNIT_HAPPINESS, GetPetHappiness(), UnitMana(), UnitManaMax() are no more.
For party/raid check you could try registering PARTY_LEADER_CHANGED (not sure right now if this gets fired upon joining a raid) and check GetNumPartyMembers() and GetNumRaidMembers(). Alternatively use PARTY_MEMBERS_CHANGED and RAID_ROSTER_UPDATE if PARTY_LEADER_CHANGED is not fired as wished.
You then have to add oUF_BarFader as OptDep to the .toc of your layout and set 'self.BarFade = true' and 'self.BarFadeMinAlpha = 0' for your player frame.
|