Macro Dabbling
Since I'm not a number-cruncher or min/maxer or even all that technical, I rather suck at making macros. I managed a few targeting macros and an assist macro, but other than that, I leave the business of causing actions to the buttons WoW gives me. Not terribly talented, am I?
Plus, I haven't managed to decently figure out WoW's macro/scripting language, even though computers and I generally get along okay. (When you grow up in a family of computer geeks, you tend to pick up a few things, even if computering is not your chosen lifelong calling.) So this instance of macro daring makes me particularly proud of myself, even if it's really not that spectacular. It even helped me understand the language a little better, because I had to do a lot of reading and then splice it together after looking at a lot of other premade macros.
After acquiring more mounts, especially the Tan War Talbuk counterpart to my current Tan Riding Talbuk, I wanted to have some variety in what I rode. Specifically, I wanted to be able to dictate the conditions when each is summoned. When I take up my "battle standard" and ride off to war, my Talbuk needs to be armored too! And when I'm just running around in the world and it's not so dangerous, my poor mount doesn't need to tote that heavy steel plating.
Thus, a script macro:
Any readers can feel free to use it for your own PvP riding preferences. ^_^ I've tested it flagged and unflagged, and unless I've transcribed it wrong, it should work just fine. Just replace the "##" with the number location of your chosen mounts in your mount tab (for example, my talbuks are numbers 13 and 14 in the list). And remember: if you get new mounts, the number locations of your chosen mounts may change!
Anyone who is wise in the ways of macro scripting who knows a method to make the summon choice more dependable even with new mounts (summon by name?) is welcome to make suggestions!
Plus, I haven't managed to decently figure out WoW's macro/scripting language, even though computers and I generally get along okay. (When you grow up in a family of computer geeks, you tend to pick up a few things, even if computering is not your chosen lifelong calling.) So this instance of macro daring makes me particularly proud of myself, even if it's really not that spectacular. It even helped me understand the language a little better, because I had to do a lot of reading and then splice it together after looking at a lot of other premade macros.
After acquiring more mounts, especially the Tan War Talbuk counterpart to my current Tan Riding Talbuk, I wanted to have some variety in what I rode. Specifically, I wanted to be able to dictate the conditions when each is summoned. When I take up my "battle standard" and ride off to war, my Talbuk needs to be armored too! And when I'm just running around in the world and it's not so dangerous, my poor mount doesn't need to tote that heavy steel plating.
Thus, a script macro:
/run if IsMounted() and not IsFlying() then Dismount() return end if (UnitIsPVP("player")) then CallCompanion("Mount",##) else CallCompanion("Mount",##) endThe first thing this macro does is make a check to see if I'm already mounted, and if I am, it just dismounts me--like a standard mount summon button. It also has a built-in safety so that it will not dismount me if I'm in flight. After it ascertains my unmounted status, it performs another check: whether my pvp flag is up or not. If I am PvP flagged, it will call the Tan War Talbuk; "else" if I am not flagged, the script summons the Tan Riding Talbuk. This way, in Battlegrounds and World PvP, I'll be riding around in armored style!
Any readers can feel free to use it for your own PvP riding preferences. ^_^ I've tested it flagged and unflagged, and unless I've transcribed it wrong, it should work just fine. Just replace the "##" with the number location of your chosen mounts in your mount tab (for example, my talbuks are numbers 13 and 14 in the list). And remember: if you get new mounts, the number locations of your chosen mounts may change!
Anyone who is wise in the ways of macro scripting who knows a method to make the summon choice more dependable even with new mounts (summon by name?) is welcome to make suggestions!
