Thread: Mount macro
View Single Post
04-06-13, 06:49 PM   #3
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
It would be easier to update your macro to use "/cast" commands and let the Blizzard code handle coloring and highlighting the action button.

For example, the addon would need to edit the macro with a new "/cast Mount Name" after each time you mounted (or every 2 minutes, etc) to show the next mount to be used.

Since addons can't edit macros in combat, if you wanted the macro to be useful in combat, your addon would need to edit the macro when entering combat to something like "/cast Travel Form" and edit it back to use a mount after combat ended.
__________________
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