Moving default BuffFrame
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() 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! |
Lua Code:
works for me without any errors. Just SetUserPlaced(true) is not possible for BuffFrame. But also not necessary (?). |
Checked again and apparently it's only happening when I pull a mob. If the mob is already aggroed it seems to be working just fine.
Code:
BuffFrame:ClearAllPoints() |
I tried to reproduce this but I can pull mobs without any problems while the buff frame remains in the center of the screen.
|
I made a quick video to hopefully illustrate the issue. Link: https://www.youtube.com/watch?v=AubkeNHYulY
I guess if you can't replicate the issue then it pretty much has to be my client or something, even though it's pretty much a fresh install and I have no other addons running. But I guess you can't really do much in that case. In any case thank you for your time. :) |
Maybe this is something specific to the class you are using?
Have you tried it with other classes? |
I've tried several. They all had the same issue.
|
All times are GMT -6. The time now is 09:20 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI