Page 1 of 1

macro modifiers

PostPosted: Sat May 09, 2015 5:57 pm
by tyruan
Are modifiers available in vanilla macros? I am trying to make an attack and pet attack modifed macro:

/cast [nomod] Attack
/cast [mod:shift] Hunter's Mark
/script [mod:shift] PetAttack(target);

But it isn't working

Re: macro modifiers

PostPosted: Sat May 09, 2015 8:46 pm
by adultswim90
/script PetAttack(target)

Re: macro modifiers

PostPosted: Sat May 09, 2015 8:53 pm
by tyruan
I am trying to add modifiers, so without the mod, only my char attacks, with the mod I cast hunters mark and send my pet in

Re: macro modifiers

PostPosted: Sat May 09, 2015 8:56 pm
by rewind
Try this one ?
/run local x = IsShiftKeyDown(); if x == nil then CastSpellByName("Attack") else CastSpellByName("Hunter's Mark)"); end;


You still have to add the pet attack tho

Re: macro modifiers

PostPosted: Sat May 09, 2015 11:11 pm
by tyruan
Cool, how to add the rank of the spell I want to cast?

Holding shift down just picks up the macro from the control bar to move.

Re: macro modifiers

PostPosted: Sun May 10, 2015 9:13 am
by Mimma
It will cast mas rank unless you explicit add "(Rank 1)" after the spell name.

Re: macro modifiers

PostPosted: Mon May 11, 2015 1:46 pm
by tyruan
Ahh cool. I still can't get modifier keys to work though.