View Single Post
07-24-14, 11:40 AM   #1
Drool
A Deviate Faerie Dragon
Join Date: Jan 2011
Posts: 10
taint from moving unit frames

hey mates,

im using a simple script to move the default unit frames
Lua Code:
  1. PlayerFrame:ClearAllPoints()
  2. PlayerFrame:SetPoint("CENTER", UIParent, -294, -150)
  3.     PlayerFrame.SetPoint = function()
  4. end
  5.  
  6. TargetFrame:ClearAllPoints()
  7. TargetFrame:SetPoint("CENTER", UIParent, 294, -150)
  8.     TargetFrame.SetPoint = function()
  9. end
  10.  
  11. FocusFrame:ClearAllPoints()
  12. FocusFrame:SetPoint("CENTER", UIParent, 294, 400)
  13.     FocusFrame.SetPoint = function()
  14. end

however i always get the message: interface-action failed because of an addon
and because of said error my target of target frames is hiding
taint.log:

Code:
7/24 19:15:04.630  An action was blocked in combat because of taint from mUI - TargetFrameToT:Show()
7/24 19:15:04.630      Interface\FrameXML\TargetFrame.lua:924 TargetofTarget_Update()
7/24 19:15:04.630      Interface\FrameXML\TargetFrame.lua:415 TargetFrame_OnUpdate()
7/24 19:15:04.630      TargetFrame:OnUpdate()
how do i fix this? is there a better way to move the unitframes in a fixed position than moving it by hand on every character? :/

regards,
Drool
  Reply With Quote