WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Search/Requests (https://www.wowinterface.com/forums/forumdisplay.php?f=6)
-   -   Hide Garrison Ability Special Button (https://www.wowinterface.com/forums/showthread.php?t=52086)

lanseb 03-14-15 12:54 PM

Hide Garrison Ability Special Button
 
Hello -

I've been looking for a basic addon to hide the garrison ability special action button, and my search led me there:

http://www.arenajunkies.com/topic/25.../#entry4263535

Apparently it's only 2 lines of code. I tried making it into an addon myself, using other TOC/XML/LUA files to give me an idea of how to get it done. Needless to say, I failed spectacularly.

Any help would be greatly appreciated!

Dorwido 03-14-15 01:30 PM

I was so free to add that option to my garrison addon:
http://www.wowinterface.com/download...nEnhanced.html

If you only want that you can turn off all other options

lanseb 03-14-15 02:55 PM

Thank you for the suggestion, I'd prefer not downloading an addon with half a dozen other features, though!

Tonyleila 03-14-15 04:59 PM

Why don't you just drag the garrison ability into your actionbars?

semlar 03-14-15 07:00 PM

Quote:

Originally Posted by lanseb (Post 307516)
http://www.arenajunkies.com/topic/25.../#entry4263535

Apparently it's only 2 lines of code. I tried making it into an addon myself, using other TOC/XML/LUA files to give me an idea of how to get it done. Needless to say, I failed spectacularly.

You can just paste those lines into http://addon.bool.no and have it generate an addon for you.

I'm personally not sure those 2 lines will actually work since the frame is shown in response to events, so you might try this instead..
Lua Code:
  1. DraenorZoneAbilityFrame:SetScript('OnEvent', nil)
  2. DraenorZoneAbilityFrame:Hide()

lanseb 03-14-15 08:30 PM

Quote:

Originally Posted by Tonyleila (Post 307519)
Why don't you just drag the garrison ability into your actionbars?

Do you honestly think I would have bothered registering here and making this post if I wanted to do that? I'm sure you can find more useful ways to up your post count.

Quote:

Originally Posted by semlar (Post 307521)
You can just paste those lines into http://addon.bool.no and have it generate an addon for you.

I'm personally not sure those 2 lines will actually work since the frame is shown in response to events, so you might try this instead..
Lua Code:
  1. DraenorZoneAbilityFrame:SetScript('OnEvent', nil)
  2. DraenorZoneAbilityFrame:Hide()

Thank you very, very much! <3

Seerah 03-14-15 09:00 PM

Quote:

Originally Posted by lanseb (Post 307523)
Do you honestly think I would have bothered registering here and making this post if I wanted to do that? I'm sure you can find more useful ways to up your post count.

Now now... No one here is psychic, and you should never assume that anyone is. :rolleyes:

Tonyleila 03-15-15 10:11 AM

Quote:

Originally Posted by lanseb (Post 307523)
Do you honestly think I would have bothered registering here and making this post if I wanted to do that? I'm sure you can find more useful ways to up your post count.

Thank you very, very much! <3


I did not ask IF you want to do that I asked WHY you don't want to do that.
Because even if you play a druid you have much more barspace then abbilitys in your spellbook and you coud simply hide the bar with the icon in it.
Also I don't see any use in a high post count in this forum.


All times are GMT -6. The time now is 07:07 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI