macro modifiers

macro modifiers

by tyruan » Sat May 09, 2015 5:57 pm

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
tyruan
Tester
 

Re: macro modifiers

by adultswim90 » Sat May 09, 2015 8:46 pm

/script PetAttack(target)
adultswim90
Private
Private
 

Re: macro modifiers

by tyruan » Sat May 09, 2015 8:53 pm

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
tyruan
Tester
 

Re: macro modifiers

by rewind » Sat May 09, 2015 8:56 pm

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
User avatar
rewind
Senior Sergeant
Senior Sergeant
 

Re: macro modifiers

by tyruan » Sat May 09, 2015 11:11 pm

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.
tyruan
Tester
 

Re: macro modifiers

by Mimma » Sun May 10, 2015 9:13 am

It will cast mas rank unless you explicit add "(Rank 1)" after the spell name.
Image
User avatar
Mimma
Legionnaire
Legionnaire
 

Re: macro modifiers

by tyruan » Mon May 11, 2015 1:46 pm

Ahh cool. I still can't get modifier keys to work though.
tyruan
Tester
 


Return to Addons & macros