Trying to move stuff around the screen via LUA code for an addon I’m building, and it’s a pain to touch much of anything without the game yelling at me the moment combat starts (or having elements shift back to their profile’s predetermined positions when certain conditions occur that I’m not “listening” for to counter).
There’s got to a be a better way to do something as simple as moving an actionbar around that doesn’t require me to hide the original actionbar under a new hidden parent while recreating a custom-made actionbar that the user interfaces with.
… is there?
There are certain elements of the UI Blizz. don’t want you moving, showing, hiding etc. while in combat. Action Bars/Buttons and Unit Frames are two of the elements at the top of that list.
I don’t need to move it around during combat, but I don’t want the default UI code to move it “back” to the positions predetermined by the currently active “Edit Mode Profile”.
I figured that if I can make a new profile AND position it where desired outside of combat (saving the positions into the new profile), that the game wouldn’t feel the need to “mess with it” since its position already matches what the new profile has it set to.
… if that makes sense.
I’ve not used it but maybe something like this might help:
https://www.curseforge.com/wow/addons/libeditmodeoverride
2 Likes
I haven’t played retail in awhile but I previously tried moving unwanted elements “off my screen” such as to a negative axis. So they’re not technically hidden but just not on my screen.