Hi,
I'm in the process of making a simple addon to change the placement of the default UI frames.
Most frames can be moved just fine with just a few lines of basic code. Example:
Code:
PlayerFrame:ClearAllPoints()
PlayerFrame:SetPoint("CENTER", UIParent, "CENTER", -117, -309)
PlayerFrame.SetPoint = function() end
PlayerFrame:SetUserPlaced(true)
(The PlayerFrame and TargetFrame need the additional line at the end to work, otherwise everything seems to only need the first 3 lines.)
The only thing I'm having trouble with is the BuffFrame. You can move it just fine with the approach above, however, it seems to break target of target functionality, and I can not figure out why.
I have tried to add the "SetUserPlaced(true)" and a few other things but nothing seems to work.
Any help would be appreciated.
Thanks!