0
\$\begingroup\$

I'm tyring to make a very simple WoW addon that hides the gryphons on either side of the main menu bar and hides the micro buttons in the lower right. The addon has one Lua script, main.lua:

-- main.lua
MainMenuBarArtFrame.LeftEndCap:Hide()
MainMenuBarArtFrame.RightEndCap:Hide()
MicroButtonAndBagsBar:Hide()
CharacterMicroButton:Hide()
SpellbookMicroButton:Hide()
TalentMicroButton:Hide()
AchievementMicroButton:Hide()
QuestLogMicroButton:Hide()
GuildMicroButton:Hide()
LFDMicroButton:Hide()
CollectionsMicroButton:Hide()
StoreMicroButton:Hide()
EJMicroButton:Hide()
MainMenuMicroButton:Hide()

This works perfectly, except the micro button for the shop will not go away. In game, if I enter /run StoreMicroButton:Hide() into the chat, the button will be hidden. Why will the script not hide this element? How can I fix it? Thanks!

\$\endgroup\$
  • \$\begingroup\$ TalentMicroButton:Hide()A (line break) chievementMicroButton:Hide() - is this typo in the file? \$\endgroup\$ – trollingchar Mar 12 at 11:45
  • \$\begingroup\$ @trollingchar Oh, no, it’s not. I just messed up when typing out the question. Thank you for catching that! \$\endgroup\$ – maknel Mar 12 at 16:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.