Thread Tools Display Modes
Prev Previous Post   Next Post Next
01-08-11, 04:04 AM   #1
matt.wow
A Murloc Raider
Join Date: Jan 2011
Posts: 5
Use default UI "TargetFrameSpellBar" Frame

Hi,
I always used the default UI target castbar for my oUF layout. Since oUF 1.5 the code didn't work anymore.

Code:
TargetFrameSpellBar:RegisterEvent("UNIT_SPELLCAST_START")
TargetFrameSpellBar:RegisterEvent("UNIT_SPELLCAST_STOP")
TargetFrameSpellBar:RegisterEvent("UNIT_SPELLCAST_FAILED")
TargetFrameSpellBar:RegisterEvent("UNIT_SPELLCAST_INTERRUPTED")
TargetFrameSpellBar:RegisterEvent("UNIT_SPELLCAST_DELAYED")
TargetFrameSpellBar:RegisterEvent("UNIT_SPELLCAST_CHANNEL_START")
TargetFrameSpellBar:RegisterEvent("UNIT_SPELLCAST_CHANNEL_UPDATE")
TargetFrameSpellBar:RegisterEvent("UNIT_SPELLCAST_CHANNEL_STOP")
TargetFrameSpellBar:RegisterEvent("UNIT_SPELLCAST_INTERRUPTIBLE")
TargetFrameSpellBar:RegisterEvent("UNIT_SPELLCAST_NOT_INTERRUPTIBLE ")
TargetFrameSpellBar:RegisterEvent("PLAYER_ENTERING_WORLD")
TargetFrameSpellBar:RegisterEvent("PLAYER_TARGET_CHANGED")

TargetFrameSpellBar:SetParent(UIParent)
TargetFrameSpellBar:ClearAllPoints()
TargetFrameSpellBar:SetPoint('BOTTOM', UIParent, 0, 265)

function RemoveBlizzFunction()
end

Target_Spellbar_AdjustPosition = RemoveBlizzFunction
TargetFrameSpellBar:SetScript("OnShow", function() end)
How do I get the castbar back?

matt
  Reply With Quote
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Use default UI "TargetFrameSpellBar" Frame


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off