Skip to Content

WoW Insider has the latest on the Mists of Pandaria!

Macro Anatomy: Run phase and beyond!

Welcome, troops, to the final stage of your lock-step macro training. This phase is when you will learn all about modifier keys. I had planned to include conditionals in the Run Phase, but that subject will necessitate its own series of posts, so look for that in the future. From here on out, Macro Anatomy will focus more on macro development and specific macros rather than teaching you the basics. In case you missed out on the basics, go check out my Macro Primer, then you can graduate to the Crawl and Walk phases of macro development.

As I said, we'll be taking a look at modifier key, which can extend the functionality of your macros, as well as helping to cut back on how many buttons you are using on your action bar.

Modifier keys allow you to change the behavior of a macro when pressing one of three keys. The keys available for use as modifier keys are:
  • Shift (shift)
  • Control (ctrl)
  • Alt (alt)
Keep reading to find out how to use these three modifier keys.

These three keys allow you to do different things with the same button. It's important, if you want to assign one function while holding the Shift key and one with no modifier, that you tell the World of Warcraft client what to do in each case. This can be accomplished by using the [nomodifier] keyword. Here is an example I use on all of my Blood Elf characters, which allows me to put both racial abilities I use into one button.

#showtooltip
/cast [nomodifier] Mana Tap; [modifier:shift] Arcane Torrent

This macro will do two things. If I press the button, which I place on an actionbar, it will cast Mana Tap. If I hold down the SHIFT key and press the button, it will cast Arcane Torrent. As a note, the #showtooltip, when combined with the "?" icon will be change the icon and tooltip to the appropriate spell. In this case the Mana Tap icon and tooltip when I hover over the button, and the Arcane Torrent icon and tooltip while holding SHIFT and hovering over the button.

You can replace "modifier:shift" with "modifier:ctrl" or "modifier:alt" to change the key used. You can also stack all of these modifier keys into one macro, giving you four options with one macro. I don't do this myself, as the class bar works just fine for me, but here is an example you could use if you were so inclined.

#showtooltip
/cast [nomodifier] Battle Stance; [modifier: shift] Defensive Stance; [modifier: ctrl] Berserker Stance


Note that each block of instruction, per modifier key, is separated by a semi-colon. That is how you're telling the World of Warcraft client that you're starting a new set of instructions, for different keystrokes in our example.

Hopefully that makes sense to you so that you can start using modifier keys with your macros. I'll go more in depth about the application of these in the future. Next week, I'll introduce you to assigning conditionals to your macros, based on different mouse buttons. Exciting, stuff, my friends! Thanks for tuning in and macro on!

Filed under: Analysis / Opinion, How-tos, Walkthroughs, Features, Guides, Macro Anatomy

Reader Comments (Page 1 of 1)

Around Azeroth

Around Azeroth

Featured Galleries

It came from the Blog: Occupy Orgrimmar
Midsummer Flamefest 2013
Running of the Orphans 2013
World of Warcraft Tattoos
HearthStone Sample Cards
HearthStone Concept Art
Yaks
It came from the Blog: Lunar Lunacy 2013
Art of Blizzard Gallery Opening

 

Categories

Joystiq

Massively

Engadget