Originally Posted by NarusegawaNaru
How can I reload oUF ingame? Just wondering as if I'm invited to a raid/group while in a fight the party frames won't show.
Just wondering how to get around that.
|
Not showing once you leave combat?
Edit:
If your having issues, this should fix it.
Code:
local partyToggle = CreateFrame('Frame')
partyToggle:RegisterEvent('PLAYER_LOGIN')
partyToggle:RegisterEvent('RAID_ROSTER_UPDATE')
partyToggle:RegisterEvent('PARTY_LEADER_CHANGED')
partyToggle:RegisterEvent('PARTY_MEMBERS_CHANGED')
partyToggle:SetScript('OnEvent', function(self)
if(InCombatLockdown()) then
self:RegisterEvent('PLAYER_REGEN_ENABLED')
else
self:UnregisterEvent('PLAYER_REGEN_ENABLED')
party:Show()
end
end)