Thread Tools Display Modes
01-18-15, 05:15 PM   #1
Banknorris
A Chromatic Dragonspawn
 
Banknorris's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 153
Garrison Ability macro icon

Not really relevant but out of curiosity
Is there a way to (during combat and in Nagrand) set a macro icon to show Telaari Talbuk or Frostwolf War Wolf icons?

The macro is just a /click frame
frame is a secure button that determines with spell to cast.

The best I could do was
SetMacroSpell(MacroName,"Garrison Ability")
But that only sets the generic Garrison Ability icon and does not show the icon of the available Garrison Ability.

SetMacroSpell(MacroName,"Telaari Talbuk")
SetMacroSpell(MacroName,165803) --spell id of Telaari Talbuk
SetMacroSpell(MacroName,"Frostwolf War Wolf")
SetMacroSpell(MacroName,164222) --spell id of Frostwolf War Wolf
does not work
tested while in Nagrand and with a Corral there.

I know I can edit the macro to use that texture but it is not as good.

Last edited by Banknorris : 01-19-15 at 05:56 AM.
  Reply With Quote
01-18-15, 05:20 PM   #2
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
Is there some reason you don't just use /use Garrison Ability?

#showtooltip Call to Arms seems to work fine.

Last edited by semlar : 01-18-15 at 05:24 PM.
  Reply With Quote
01-18-15, 07:13 PM   #3
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Supporting the Corral outpost in a macro is not an easy task, I spent quite some time trying to get it working right as well, without much success.

I suggest making an addon for it, or use something like Phanx's MountMe.
  Reply With Quote
01-19-15, 06:09 AM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Unfortunately MountMe won't solve the OP's primary issue, which is getting a dynamic icon that will show which mount or ability will be used before using it. The problem with that is that it's such a waste of resources to constantly calculate which ability would be used if the player activated the macro at any given time -- it could be the Nagrand garrison mount ability, it could be a random mount, or it could be an item, or it could be a travel form (or one of several forms, for druids) or it could be some other speed-boosting class ability. To keep an icon up to date you'd have to update it every time the player started moving, stopped moving, entered combat, left combat, entered a building or other indoor area, left the building or indoor area, or changed zones, as well as every time a generic "something changed" event fired for mounts, spells, and bag items, which can happen very frequently. I considered it when I wrote my addon, but very quickly decided it wasn't worthwhile.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
01-19-15, 06:34 AM   #5
Banknorris
A Chromatic Dragonspawn
 
Banknorris's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 153
Apparently all mount addon authors agree with you, since none of them (to my knowledge) uses a dynamic icon, they either don't use a action bar button at all (just a keybind) or just use the summon random favorite mount icon (never changes). I do prefer to see the icon though (specially on my shaman).

Last edited by Banknorris : 01-19-15 at 08:08 AM.
  Reply With Quote
01-19-15, 09:38 AM   #6
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Yeah, it doesn't bother me because I just have it keybound; I've never wasted a visible button on that.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Garrison Ability macro icon

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