Addon stops working on combat
so, i wanted a super easy and small addon to 1. remove the Griffins from my action bars and 2. move the right actionbar, i did get this all working, only problem is, that everytime i get into combat, the bars are moved back down to the normal spot, and then once i get out of combat, addon starts working once more and moves the bars back
Code:
local f = CreateFrame("Frame") |
Quote:
To know when you can move the frames, you can set up an event (PLAYER_LEAVING_COMBAT) as well as check for InCombatLockdown() being true. If necessary, watch for any other events or hook into the Blizzard functions that move the action bars back (if this happens). Dealing with secure frames that are also controlled by Blizzard can be a little messy at times. |
All times are GMT -6. The time now is 02:50 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI