Will cast Shadow Word: Pain if your target is unfriendly, and Power Word: Shield if your target is friendly. cast Shadow Word: Pain Power Word: Shield
Macro Conditionals are used to establish the parameters within which the commands you use will activate. dismount is especially handy with a random-mount macro. You can, in fact, use /cancelbuff Black War Raptor in order to cancel your mount (or /cancelbuff Dire Bear Form), but the /cancelform and /dismount functions will always choose your shapeshift or mount to remove. These commands are all used to cancel certain buffs. The /targetparty/raid/enemy commands are functionally identical to tab-targetting. These commands are used to modify your current target or focus target. This can be used in lieu of constant conditional checks to create an If->Then functionality, as without failing the Stop Macro's conditions nothing further in the macro will be accessed. If this command passes its conditional checks, it will stop the macro from proceeding any further. Useful for brute-forcing events or for performing a random action, like selecting a different mount for you to use each time. Like castsequence, only one conditional check is allowed - it will either pick any one of the random choices, or none at all. Cast RandomĪ simple function, this will randomly use one of the abilities in its list every time you use the button. The 'idle timout' instead of an active timer, combined with the other restrictions on Cast Sequence, make it much less valueable than it could be as it is, though, the tool is extremely useful, especially for Hunters trying to perfect their shot rotation. Unfortunately, though, the time-based reset of the Castsequence button goes off how much time has passed since you hit the button, not since it last cast an attack in the sequence. These can be combined for example, 'reset=target/combat/3' will reset the macro to step 1 if you change targets, leave combat or more than three seconds pass without it being activated. This is partially mitigated by the ability to use the reset= tag, which will cause the castsequence to go back to square one on certain events - target for target changes, combat for when you leave combat, or simply a number for a certain number of seconds. If one ability has a cooldown or is event triggered (such as Overpower) then it will hang on that step of the sequence until it can perform that command. More to the point, it will 'freeze' on each step until that step can be completed, rather than bypassing it. Unlike /cast, there is only a single conditional check at the start of the macro the command will not allow you to bypass parts of the sequence if certain conditions aren't met. Cast SequenceĪ very powerful but limited function, Cast Sequence allows you to tell the macro to use different abilities in a certain order. There is no limit to the number of conditional checks the /cast command can make, but it will stop at the first ability it sees that passes the conditional checks to use it. The heart and soul of most macros, the Cast and Use commands allow you to use spells, abilities and items when the conditionals are met. Primarily used by Druids to return to Caster form Switches your target to your previous targetĮquips the named item in the selected slot Switches your target to your target's target castsequence reset=ResetFunctions First Spell Second SpellĬan use reset= to determine when to return to the first ability use First Spell Second SpellĬasts the abilities in order, then repeats Combined with macro conditionals you can create useful macros to perform a wide variety of tasks for you. Macro Commands are useful slash-comamnds you can put into macros (or your chat bar!) to make the game perform certain actions for you. Congratulations, you've just made your first macro! Yes, it really is that easy. Click on the text-box in the bottom of the Macro pane and type the following ĭrag the macro onto your action bar and hit it, and you'll tell the world hello and start dancing. Name your macro "Hello World" and pick whichever icon you want, then hit okay. Click the "New" button in the bottom of the Macros pane, pick the icon you want your macro to use as well as the name and you're all set to start writing!įor our example we're going to create a simple macro that will use a /say command to talk and also use an emote action. My First MacroĬreating a Macro in World of Warcraft is easy! Just hit the Escape key until the Game Options menu appears, and then to click on the Macros button. Each set has a limit of 16, for a total of 32 potential macros, and each macro has a 256-character length limit. Macros are divided into two sets General Macros, which are shared across your entire account, and Character-Specific Macros, which are useable by your current character only.