Macro Help?

User avatar
Talaridan
Artisan Hunter
Artisan Hunter
Posts: 742
Joined: Sun Sep 18, 2011 5:13 am
Realm: Moon Guard (US, Horde)
Gender: Male
Location: In that big somewhere out there

Macro Help?

Unread post by Talaridan »

I am far from a macro expert so I was hoping someone with more skill could aid me. :D

I'm trying to create a macro that casts Misdirection on my pet, Hunter's Mark on a mob, and sends my pet to attack.

Can anyone help me out? :)
User avatar
Vephriel
Illustrious Master Hunter
Illustrious Master Hunter
Posts: 16422
Joined: Wed Jan 06, 2010 8:07 pm
Realm: Wyrmrest Accord US
Gender: Female
Location: Canada

Re: Macro Help?

Unread post by Vephriel »

I believe this would do it:

/cast [@pet,nodead,exists] Misdirection
/cast Hunter's Mark
/petattack

However, you might have to push it a couple times since Misdirection and Hunter's Mark will both be on GCD, they can't be cast simultaneously.
User avatar
Talaridan
Artisan Hunter
Artisan Hunter
Posts: 742
Joined: Sun Sep 18, 2011 5:13 am
Realm: Moon Guard (US, Horde)
Gender: Male
Location: In that big somewhere out there

Re: Macro Help?

Unread post by Talaridan »

Thank you, Veph! I will try it out. :) I figured the GCD would make it something I had to press a few times. I just wasn't sure what order would work best.
User avatar
Talaridan
Artisan Hunter
Artisan Hunter
Posts: 742
Joined: Sun Sep 18, 2011 5:13 am
Realm: Moon Guard (US, Horde)
Gender: Male
Location: In that big somewhere out there

Re: Macro Help?

Unread post by Talaridan »

Drat, no luck.

It works perfectly for the Misdirection, but it won't put Hunter's Mark on the target. :cry:
User avatar
Vephriel
Illustrious Master Hunter
Illustrious Master Hunter
Posts: 16422
Joined: Wed Jan 06, 2010 8:07 pm
Realm: Wyrmrest Accord US
Gender: Female
Location: Canada

Re: Macro Help?

Unread post by Vephriel »

Yeah, there's probably no way to have all 3 go off smoothly due to the GCD issues, so I'd suggest choosing two things you'd like to happen and putting the third off on it's own.

I have Pet Attack and Hunter's Mark macroed together myself, and then my Misdirection macro will either MD to my focus target, or if there isn't one then it automatically goes to my pet.
User avatar
Anyia
 Community Resource
 Community Resource
Posts: 1135
Joined: Mon Aug 23, 2010 9:35 pm
Realm: Jubei'Thos (US/Oceania)
Location: Australia
Contact:

Re: Macro Help?

Unread post by Anyia »

The reason it won't work is that when you press it the next time it will try to cast Misdirection again, but it's on cooldown, and therefore the macro stops there.

Try something with a castsequence instead. Perhaps:
/castsequence [@pet,nodead,exists] Misdirection, Hunter's Mark
/petattack

I'm not playing any more so I can't check that I got the syntax right, but the idea is to use /castsequence to advance the spell choice. First time you press it it will attempt to cast Misdirection, and moves the what-bit-am-I-up-to-in-the-sequence marker to the Hunter's Mark, and since Misdirection was successful, it will execute the /petattack too. The second time you press the button it will cast Hunter's Mark and reset the sequence back to Misdirection, and again, also execute /petattack. Or this is the theory at least :)
User avatar
Talaridan
Artisan Hunter
Artisan Hunter
Posts: 742
Joined: Sun Sep 18, 2011 5:13 am
Realm: Moon Guard (US, Horde)
Gender: Male
Location: In that big somewhere out there

Re: Macro Help?

Unread post by Talaridan »

Ahh, I think I see! I will give it a try that way, Anyia!

If not, I will do what you suggested Veph and just do two. :D
User avatar
Talaridan
Artisan Hunter
Artisan Hunter
Posts: 742
Joined: Sun Sep 18, 2011 5:13 am
Realm: Moon Guard (US, Horde)
Gender: Male
Location: In that big somewhere out there

Re: Macro Help?

Unread post by Talaridan »

Blast!

The cast sequence did not work either. :cry:

Ah, well. I'll just use my normal macro of casting Hunter's Mark and sending my pet to attack.

I might see if I can set up a second one to cast Misdirection after that, and then start auto-shooting.
User avatar
Talaridan
Artisan Hunter
Artisan Hunter
Posts: 742
Joined: Sun Sep 18, 2011 5:13 am
Realm: Moon Guard (US, Horde)
Gender: Male
Location: In that big somewhere out there

Re: Macro Help?

Unread post by Talaridan »

Well, never managed to figure it out, so I broke it into two macros.

The first is:
/cast Hunter's Mark
/petattack

And the second:
/cast [@pet,nodead,exists] Misdirection
/cast Auto Shot

This seems to work pretty well. Thank you both for the help! :D
User avatar
Foru21dr
Artisan Hunter
Artisan Hunter
Posts: 574
Joined: Wed Jan 27, 2010 5:00 pm
Realm: Tanaris (Alliance) Nessingwary (Horde)
Gender: Female

Re: Macro Help?

Unread post by Foru21dr »

Because of the global cooldown you would not be able to get it into one macro. Have not found a way to get a macro to pause for a certain time limit before casting the next.

I have mine in 2 separate macros.

I will have to wait till I get home, but I have my misdirect macro set up to apply first to the person I have focus set on, and if that does not exist, then on to my pet. This way I have misdirect going to the tank in our group.. and then to the pet if he is dead or I don't have focus set up on anyone. Will add this macro when I get home.
Nesingwary Petopians - Bitka, Quïll Xendral, Ximbol, Saehi, and Tryxter
Nesingwary Petopian Alliance - Sorree and Xylda

http://dragcave.net/user/foru21dr My Cave
Worba
Illustrious Master Hunter
Illustrious Master Hunter
Posts: 3522
Joined: Wed Jul 28, 2010 3:56 pm
Realm: Uther, Zangarmarsh, Shu'halo, Fenris, Quel'Thalas+
Gender: Orc
Location: In Sethekk Halls, bothering Anzu (90 runs and counting)

Re: Macro Help?

Unread post by Worba »

#showtooltip Misdirection
/use [help][@focus,exists,help,nodead][@pet] Misdirection

If you're targeting an ally, it puts MD on him, else if you have a focus defined, who is an ally and not dead, it goes to him, else it goes to your pet if none of the other conditions apply.

Otherwise if you *really* want both on the same macro you could do something like

#showtooltip
/use [nocombat,@pet][btn:2,@pet][mod,@pet] Misdirection;Hunter's Mark
/petattack

This would cast MD on your pet and send him into combat, and a second later once combat started, your icon would change to Hunter's Mark. If combat continues past your MD's cooldown, you would need to use the right mouse button to cast MD again (during combat), so this is far from perfect, but again if your goal is to get both onto the same macro, this would do it.
Post Reply