Thread Tools Display Modes
Prev Previous Post   Next Post Next
12-20-17, 10:43 AM   #1
tehmoku
A Fallenroot Satyr
Join Date: May 2007
Posts: 27
Moving BuffFrame securely

I use this script to move my BuffFrame closer to the center of the screen.

Code:
hooksecurefunc("BuffFrame_UpdateAllBuffAnchors", function()
	local b = _G["BuffFrame"]
	b:ClearAllPoints()
	b:SetPoint("CENTER", UIParent, "RIGHT", -500, 200)
end)
This causes taint when trying to right-click off the buffs because CancelUnitBuff() is secure. Since I don't want to create an entire buff addon, is there a way of simply changing the anchors of BuffFrame securely so I am able to right-click off my buffs in combat?
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Moving BuffFrame securely

Thread Tools
Display Modes

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