Hey code wizards, I’d like to tweak my travel macro to do a thing, but I need help with the syntax.
Currently, I use a macro that allows me to use key mods to determine which travel form I morph into as shown here:
#showtooltip [mod:shift] Aquatic Form;[mod:alt] Flight Form;[nomod:]Travel Form
/cast [mod:shift] Aquatic Form
/cast [mod:alt] Flight Form
/cast [nomod:] Travel Form
What I would like to do, is just have the macro cast travel form OR flight form, with the same [nomod:] button bind, and just select whichever one is available; in other words…
" [nomod:] Cast flight form, but if you are in combat and can’t, then cast cheetah "
Doing this would eliminate one more button click combo I need to remember and make me a very happy guy.
Here is my travel form macro that uses the proper form for the situation in one button:
#showtooltip
/cast [swimming] !Aquatic Form; [flyable,nocombat] !Flight Form; !Travel Form
If you are wanting to keep your mod style, I would think this is the portion of the code you are looking for to get your travel/flight:
[flyable,nocombat] !Flight Form; !Travel Form
One note for this macro, it doesn’t seem to work if you don’t have flight form yet so for anyone that’s still low level and wants a one-button aquatic/travel form, you have to remove the flight portion from the macro until you have it.