Page 1 of 2

How To: Create a Simple Modifier Macro

Posted: Mon Oct 25, 2010 11:44 am
by Shixin
So I just discovered the awesomesauce of macro goodness that is modifier macros.nnBasically, it is setting a single button on your hotbar so that you can perform multiple abilities using the same hotbar button and a modifier.nnHere’s an example:nn
nNUKEnn#showtooltipn/cast [modifier:shift] Arcane Misslesn/cast [modifier:ctrl] Arcane Barragen/cast [modifier:alt] Polymorphn/cast [nomodifier] Arcane Blast
nnNow, if I put this macro on my hotbar on 1, I can cast an Arcane Blast just by pressing 1. Or if I press Shift+1, I cast Arcane Missles. Ctrl+1 will cast Arcane Barrage, and Alt+1 will Polymorph my target.nnThese are absolutely GREAT for making your reaction time faster to procs or enemy attacks, as well as freeing up a tremendous amount of space for your hotbar/UI (after all, who really wants SIX hotbars on your screen?)nn Here are some other good modifier macros:nnHunter:n
nSHOTnn#showtooltipn/cast [nomodifier] Serpent Sting; [modifier:shift] Viper Sting; [modifier:ctrl] Scorpid Sting; [modifier:alt] Tranquilizing Shot
n(alternate way to write the macro in one string)nnnDeath Knight – Pet macro for Leap/Gnaw to target, Leap/Gnaw to focus, Leap back and healn
nRAWRnn#showtooltipn/cast [nomodifier] Leapn/cast [nomodifier] Gnawn/cast [modifier:shift, target=focus] Leapn/cast [modifier:shift, target=focus] Gnawn/cast [modifier:ctrl, target=player] Leapn/cast [modifier:ctrl, target=pet] Death Coil
nnnPriest – All-in-one Healing Macron
nQWIKnn#showtooltipn/cast [modifier:shift, nomodifier:alt] Greater Healn/cast [modifier:alt, nomodifier:shift] Binding Healn/cast [modifier:alt, modifier:shift] Prayer of Mendingn/cast [nomodifier:alt, nomodifier:shift] Flash Heal
n
    • This is a handy way of reducing clutter on your action bar. n• By default this will cast Flash Heal on your current target. n• If you press shift and alt while activating this macro you'll cast prayer of mending n• If you hold alt while casting this macro you'll cast a binding heal (I like it because this is very similar to the traditional "hold alt to heal yourself" concept) n• And if you hold just shift you'll cast a Greater Heal
nnnAnd, as you can see in that last one, you can COMBINE modifiers for even more functions-- shift+alt+1, shift+ctrl+1, and ctrl+alt+1. That's 7 different abilities from one space on your hotbar!nnEnjoy some new found room on your hotbars for RP clothing and Halloween goodies!

Re: How To: Create a Simple Modifier Macro

Posted: Tue Oct 26, 2010 11:02 am
by Wylair
Actually you can do the default and the shift on one line.nnThis is the syntax I use for most of mine. Spell One would be the regular press and SpellTwo would be the one that would be shift.nn/cast [nomodifer:shift] SpellOne; SpellTwon#showtooltipnnYou can also use them on cast sequences like this one of mine for example, that gives me a shock sequence, but also lets me situationally use Earth. Also not the [harm] which tells it to only run /startattack if the target is hostile.nn/castsequence [nomodifier:shift] reset=combat/target/28 Flame Shock, Earth Shockn/cast [modifier:shift] Earth Shockn/startattack [harm]nnAlso works with /usennI use Alt and Ctrl combinations for binding my different quickbars so I only use shift as modifiersnnYou can also do mouse button modifiers, this is my fishing macro, right click equips (either my Blump Family Fishing Pole, or Fishing Pole [if I ever am on an alt] and left click casts. You could of course change the names to whatever pole you're using (since I highly doubt you're using a Blump, those are particularly... rare on the Horde side... [Alliance only item)nn/cast [button:1] Fishingn/equip [button:2] Blump Family Fishing Pole; Fishing Polen#showtooltip

Re: How To: Create a Simple Modifier Macro

Posted: Tue Oct 26, 2010 11:19 am
by Shixin
I don't get the [nomodifier:shift] command, unless you have another command?nnAlso, you can use /'s in your macro lines as OR functions?

Re: How To: Create a Simple Modifier Macro

Posted: Tue Oct 26, 2010 11:22 am
by Wylair
Shixin wrote:I don't get the [nomodifier:shift] command, unless you have another command?nnAlso, you can use /'s in your macro lines as OR functions?
nnYou have two spells on the line seperated by a semicolon. the one in front of the semicolon follows the nomodifer and the one after the semicolon follows as if it was on a seperate line with [modifier:shift]nnsemicolon placement is touchy though, no space between first spell and semicolon, but space after the semicolon.nnIt's just shorthand basically.nnFor example your Nuke, but shorter (should work):nn#showtooltipn/cast [nomodifier:shift] Arcane Blast; Arcane Misslesn/cast [modifier:ctrl] Arcane Barragen/cast [modifier:alt] Polymorphnnnand on this note: /castsequence [nomodifier:shift] reset=combat/target/28 Flame Shock, Earth Shocknnthe slash says to reset the sequence if combat ends OR target changes OR 28 seconds go by.nnThat's the only time I've messed with the slash though not sure where else they work in Blizz's macro language.

Re: How To: Create a Simple Modifier Macro

Posted: Tue Oct 26, 2010 11:30 am
by Shixin
AH, excellent! I was having some problems with running out of char space in my new macros. This will help tremendously.

Re: How To: Create a Simple Modifier Macro

Posted: Tue Dec 14, 2010 11:32 am
by Shixin
Bumping this for Kozaky and anyone else looking to make their lives easier!

Re: How To: Create a Simple Modifier Macro

Posted: Tue Dec 14, 2010 11:46 am
by Aitana
This won't work for me unless you can incorporate it into a mouse-over macro. BTW, I am in love with mouse-over macros for healing.

Re: How To: Create a Simple Modifier Macro

Posted: Tue Dec 14, 2010 11:59 am
by Shixin
Aitana wrote:This won't work for me unless you can incorporate it into a mouse-over macro. BTW, I am in love with mouse-over macros for healing.
nnDoes your healbot not handle the mouseover? Like you just press the ability when you hover your cursor over the name? (Sorry, don't know enough about healbot yet).

Re: How To: Create a Simple Modifier Macro

Posted: Tue Dec 14, 2010 12:34 pm
by Aitana
I'm trying to move away from as many mods as I can. I'm considering switching to the standard raid interface with mouse-over macros and maybe Decursive.

Re: How To: Create a Simple Modifier Macro

Posted: Tue Dec 14, 2010 1:00 pm
by Wylair
I believe there is a way to tell the macro to target your mouseover before casting then revert back to previous target.