The dish on parenting ... check out the new ParentDish!

Macro Anatomy: Primer

Have you ever lost a battle because you fumbled through a sequence of actions? Perhaps when trying to run from a rogue you dropped a Stoneclaw Totem rather than the intended Earthbind Totem. Alternatively, you may have cast Frost Nova rather than Counterspell on a Warlock casting her 1.5 second Fear. Missed clicks or keystrokes have been the bane of many players. This is where the magic of macros can save you from keyboard fumbling.

Among their many uses, macros can be used to establish cast sequences, "I win" buttons and evasive action commands.

Macros are something many players have heard of, but shy away from because they require some basic scripting knowledge. For the uninitiated, macros are commands built by users to execute customized actions or action sequences. A macro, known in the Computer Science world as a macro instruction, are defined as a rule that specifies how a certain input sequence should be mapped to an output sequence. Sounds horrible, I know, so let's make it easier.

Macros in World of Warcraft, are really just new and simplified ways to do the same old things. For a Mage, this can be a Presence of Mind / Pyroblast button, the "I win!" macro for Fire / Arcane mages. From simple commands to eat and drink at the same time, to determining a target's status (friendly or hostile) and casting an appropriate spell, macros can be used to streamline game play and clean up your User Interface. Macros take advantage what is known as a scripting language to accomplish some unique custom commands. Basically, the slash commands (/wave or /cast Blink) are the same you have grown accustomed to using for chat and emotes. This scripting language can be called programming lite, sounding more like the spoken word than programming syntax. It could be compared to telling someone to go get a cup of coffee, rather than telling them to stand up, turn left, take 3 steps forward, turn right, step over the cat, and so on.

Before one begins writing macros, it is important to understand what a macro can and cannot do. Here are some tidbits that you should know:

Macros Can:
  • Execute multiple commands at once, granted they do not trigger the Global cooldown (GCD)
  • Step through a sequence of spells, abilities and other commands
  • Make 'smart' decisions about a target's status and act appropriately
  • Equip items
  • Use items
  • Cast spells
  • Trigger abilities
  • Store targets as your focus
Macros Cannot:
  • Facilitate an entire spell sequence with one click (as opposed to clicking one button more than once)
  • Wait for the GCD to expire and move forward independently
  • Play your character for you

For the sake of clarity, I will review the spell sequence functionality. Your macro could step you through a sequence of spells like Pyroblast, Fireball, Scorch and Fire Blast, requiring that you click the macro's button each time the Global cooldown resets. However, the same macro could not cast Pyroblast, wait for the GCD to expire, cast Fireball, wait for GCD, cast Scorch and so on.

Now that you know some fundamentals about macros, stay tuned for the next installment where I'll go into some basic commands and simple macros to get you started.

For those of you who simply cannot wait, Blizzard's official Macro Guide is a great place to start learning more about the power of macros. Also, thanks to Arturis, who pointed out some older macro-related stories here at WoW Insider. David's piece on using macros to manage your focus target, Amanda's piece on Mage macros and Krystalle's piece on Rogue macros are great resources we already have. Note that with recent patches, the /stopcasting slash command is no longer necessary.

Related Headlines

Reader Comments (Page 1 of 1)

Add your comments

Please keep your comments relevant to this blog entry. Email addresses are never displayed, but they are required to confirm your comments.

When you enter your name and email address, you'll be sent a link to confirm your comment, and a password. To leave another comment, just use that password.

To create a live link, simply type the URL (including http://) or email address and we will make it a live link for you. You can put up to 3 URLs in your comments. Line breaks and paragraphs are automatically converted — no need to use <p> or <br> tags.

New Users

Current Users


RESOURCES

Class Columns
Pimp My Profile (1)
(Druid) Shifting Perspectives (40)
(Hunter) Big Red Kitty (33)
(Hunter) Scattered Shots (14)
(Mage) Arcane Brilliance (35)
(Paladin) The Light and How to Swing It (47)
(Priest) Spiritual Guidance (20)
(Rogue) Encrypted Text (33)
(Shaman) Totem Talk (44)
(Warlock) Blood Pact (26)
(Warrior) The Care and Feeding of Warriors (48)
Gameplay
(Arena PvP) Blood Sport (22)
(BG PvP) The Art of War(craft) (21)
(Casual) WoW, Casually (17)
(Engineering) Hoof and Horn Research and Development (17)
(Guild Leadership) Officers' Quarters (55)
(Professions) Insider Trader (56)
(Raid Healing) Raid Rx (17)
(Raiding) Raiding 101 (2)
(Raiding) Ready Check (19)
(Roleplaying) All the World's a Stage (36)
Hybrid Theory (14)
AddOns and UI
AddOn Spotlight (79)
Macro Anatomy (12)
Reader UI of the Week (25)
Reader WoWspace of the week (28)
The Creamy GUI Center (11)
Lore and Stories
Around Azeroth (473)
Barrens Chat (2)
Know your Lore (52)
Tales from the Lion's Pride Inn (14)
WoW Moviewatch (466)
Features
15 Minutes of Fame (18)
About the Bloggers (24)
Ask WoW Insider (55)
Azeroth Security Advisor (1)
Back In The Day (3)
Breakfast topics (676)
Build Shop (34)
Gamers on the Street (19)
Guildwatch (76)
He Said She Said (4)
It came from the Blog (25)
Phat Loot Phriday (86)
Two Bosses Enter (61)
Well Fed Buff (22)
World of WarCrafts (19)
WoW Insider Show (52)
WoW Rookie (36)
[1.Local] (6)
Classes
Death Knight (55)
Druid (265)
Hunter (252)
Mage (156)
Paladin (267)
Priest (219)
Rogue (160)
Shaman (245)
Warlock (172)
Warrior (183)
News
Account Security (10)
AddOns (231)
Analysis / Opinion (2700)
Blizzard (1472)
BlizzCon (184)
Bugs (212)
Burning Crusade (358)
Contests (204)
Economy (183)
Events (366)
Expansions (562)
Fan stuff (821)
Features (606)
Forums (244)
Guilds (462)
Hardware (25)
Humor (723)
Interviews (136)
Lore (266)
Mounts (128)
News items (1404)
NPCs (186)
Odds and ends (1592)
Patches (1112)
Podcasting (73)
Ranking (50)
Realm News (274)
Realm Status (226)
RP (159)
Rumors (32)
Virtual selves (612)
WoW Insider Business (278)
WoW Social Conventions (135)
WoW TCG (49)
Wrath of the Lich King (263)
Strategy
Alts (85)
Arena (167)
Battlegrounds (104)
Bosses (311)
Buffs (114)
Cheats (67)
Classes (285)
Enchants (30)
Factions (146)
Guides (324)
How-tos (362)
Instances (615)
Items (791)
Leveling (246)
Making money (164)
PvP (692)
Quests (342)
Raiding (671)
Talents (120)
Tips (541)
Tricks (215)
Walkthroughs (74)
Media
Comics (63)
Fan art (34)
Galleries (137)
Machinima (541)
Podcasts (52)
Polls (55)
Screenshots (611)
Races
Alliance (103)
Draenei (61)
Dwarves (15)
Gnomes (39)
Human (15)
Night Elves (42)
Horde (102)
Blood Elves (68)
Orcs (25)
Tauren (42)
Trolls (22)
Undead (21)
Professions
Alchemy (75)
Blacksmithing (55)
Cooking (66)
Enchanting (71)
Engineering (106)
First Aid (16)
Fishing (57)
Herbalism (44)
Inscription (10)
Jewelcrafting (78)
Leatherworking (58)
Mining (42)
Skinning (27)
Tailoring (63)
Retired
Azeroth Interrupted (24)
World Wide WoW (8)
/silly (14)

RSS NEWSFEEDS

Powered by Blogsmith

    Featured Galleries

    Magisters' Terrace walkthrough
    Patch 2.4 Sunwell Isle
    Kil'jaeden loot
    It came from the Blog: Mother's Day Event
    It came from the Blog: Children's Week Gallery
    Children's Week: Stormwind
    Children's Week: Orgrimmar
    M'uru loot
    Children's Week: Dornaa's quests

     

    Most Commented On (30 days)

    Recent Comments

    Weblogs, Inc. Network

    Other Weblogs Inc. Network blogs you might be interested in: