Thread Tools Display Modes
03-14-15, 12:54 PM   #1
lanseb
A Murloc Raider
Join Date: Mar 2015
Posts: 4
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!
  Reply With Quote
03-14-15, 01:30 PM   #2
Dorwido
A Wyrmkin Dreamwalker
AddOn Author - Click to view addons
Join Date: Apr 2006
Posts: 54
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
__________________
Auction Analytics
http://www.wowauction.org/
  Reply With Quote
03-14-15, 02:55 PM   #3
lanseb
A Murloc Raider
Join Date: Mar 2015
Posts: 4
Thank you for the suggestion, I'd prefer not downloading an addon with half a dozen other features, though!
  Reply With Quote
03-14-15, 04:59 PM   #4
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 758
Why don't you just drag the garrison ability into your actionbars?
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
  Reply With Quote
03-14-15, 07:00 PM   #5
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
Originally Posted by lanseb View Post
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()

Last edited by semlar : 03-14-15 at 07:07 PM.
  Reply With Quote
03-14-15, 08:30 PM   #6
lanseb
A Murloc Raider
Join Date: Mar 2015
Posts: 4
Originally Posted by Tonyleila View Post
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.

Originally Posted by semlar View Post
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
  Reply With Quote
03-14-15, 09:00 PM   #7
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Originally Posted by lanseb View Post
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.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
03-15-15, 10:11 AM   #8
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 758
Originally Posted by lanseb View Post
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.
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Hide Garrison Ability Special Button

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off