Moving Frame with Macro - Resets in Combat
I have made this macro to move my pet bar:
/run PetActionButton1:SetPoint("BOTTOMLEFT", MultiBarBottomRight, "TOPLEFT", 65, 5)
I'm using a macro to do it because I only want it for the one character and I'm also afraid that using an addon to do it will interfere with the rest of my action bar placement which is controlled by an addon, but not configurable (TidyBar).
The macro works wonderfully. However, as soon as I enter combat or take a quest (possibly other actions as well), it resets to its original location. I can just click the macro button to move it back again, even in combat, but this is going to be irritating soon. The other thing the macro does, hiding the stance bar, does not reset.
Any ideas on what I can add or do differently to help the pet bar's position persist?
Perhaps try adding in
The reason why is that the addon that is controlling your action bar's for on events. When it fires the addon moves the bar back. Now you can create a small addon to also trigger on a even and move the bar back but then it would be bouncing all over the screen. The other option is to modify the action bar mod you are using to fix it.
I am downloading the addon now to see if i can isolate the code. Will get back to you in a few mins.
Ok here we go wheeeee.
First of all doing anything I post here could and will adversly affect any other class that has a pet bar. With that being said let the mod's begin =P.
Go to line 95 and change that line to the one you are using in your macro.
That should perm put your action bar where you want it. Now it seems you want to get rid of the shape shift bar. So lets tackle that.
Go to line 80. That whole block of code change with .
Thank you for the help, everyone.
The additional line on the macro worked.
I couldn't get the addon changes to work, but will try again. (It just did nothing, though the mod was definitely loading and the changes were in the right file. It was late. I was tired. Mistakes were probably made by me somewhere.)
It's a great idea to just make a second copy of the addon just for my hunter characters.
|All times are GMT -6. The time now is 12:20 PM.|
vBulletin © 2017, Jelsoft Enterprises Ltd