View Single Post
07-26-14, 09:52 AM   #24
jeruku
A Cobalt Mageweaver
 
jeruku's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 223
Does this help?

This should replace the need to hook SetPoint, though you may still need the combat check.

Lua Code:
  1. Boss1TargetFrame:ClearAllPoints()
  2. Boss1TargetFrame:SetPoint("TOP", Minimap, "BOTTOM", 0, -70)
  3.  
  4. hooksecurefunc("UIParentManageFramePositions", function()
  5.     Boss1TargetFrame:ClearAllPoints()
  6.     Boss1TargetFrame:SetPoint("TOP", Minimap, "BOTTOM", 0, -70)
  7. end)
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison

Last edited by jeruku : 07-26-14 at 02:40 PM. Reason: erroneous code
  Reply With Quote