Hiding and showing action bars
Hello. I'm fairly new to creating WoW addons so any help would be appreciated!
I'm hiding some action bars using actionbar:Hide() and then reshowing them using actionbar:Show(). Seems like it should be simple but I think I must be missing something as it doesn't work as intended. After hiding and then showing the bars, some but not all of the bars appear properly. According to the framestack, the improperly showing ones are still there, but when moving spells or opening the spell book they do not show up like they are actually there. I turned off all addons and even just created a simple macro doing this and the issue still persists. Is this some kind of a bug or am I just doing this improperly? Any help or direction would be appreciated, thanks! |
Hi! Could you give a reproducible example with the action bar in question?
Notice, that you are not allowed to show/hide action bars while in combat. |
Quote:
Hide Bar Marco Code:
/script MainMenuBar:Hide(); Code:
/script MainMenuBar:Show(); |
You cannot show/hide protected frames in insecure ways.
If that was possible it would be fairly trivial to have an addon play the game for you by hiding every button but the one you should be hitting next. Show/hide/move for protected frames (premier examples being actionbars and unitframes) can only be done under the constraints of the secure system. Simplistically you can only use macro conditionals and some actions will still require a hardware action on top (a player click or keypress) |
Quote:
|
All times are GMT -6. The time now is 08:02 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI