Page 1 of 1

Pet attack macro?

Posted: Fri May 26, 2023 2:41 am
by Zeroanjel
is there a macro that we can use to cast a spell and have your pet attack without clicking the attack button?? Thanks

Re: Pet attack macro?

Posted: Fri May 26, 2023 4:42 am
by Frosty73
/script PetAttack(target)

Re: Pet attack macro?

Posted: Fri May 26, 2023 5:21 am
by Jolikmc
Here are all the normal pet hotkeys in Vanilla macro format:

Code: Select all

PetAggressiveMode() - Set your pet in aggressive mode.
PetAttack()         - Instruct your pet to attack your target.
PetStopAttack()     - Stop the attack of the pet.
PetDefensiveMode()  - Set your pet in defensive mode.
PetFollow()         - Instruct your pet to follow you.
PetPassiveMode()    - Set your pet into passive mode.
PetWait()           - Instruct your pet to remain still.
And here's a couple of random examples of what you're asking for:

Use Wand + Pet Attack

Code: Select all

/run --CastSpellByName("Shoot")
/run PetAttack(); CastSpellByName("Shoot") end
Cycle Immolate, Corruption, and Shadow Bolt + Pet Attack

Code: Select all

/run --CastSpellByName("Immolate")
/run PetAttack(); local c=CastSpellByName; if IsShiftKeyDown() or n==0 then c("Immolate") n=1; elseif n==1 then c("Corruption") n=2 else c("Shadow Bolt") end
(You have to hold Shift to reset the "castsequence" counter on this one.)

Re: Pet attack macro?

Posted: Wed May 31, 2023 12:19 am
by Malfiouss
I originally had my pet attack mapped to my spells but found this messed up, pulling more mobs and maintaining agro on specific ones. I ended up making the pet attack a separate button for more control.

I can see the macros being nice in dungeons though to avoid having to keep telling your pet to attack. I wish there was a way to tell the pet to attack my target if not already engaged.

Re: Pet attack macro?

Posted: Fri Sep 22, 2023 4:50 am
by Adnoctum
stop using pet attack macro binde attack and passive to mousewheel scroll up for attack and down for passive . you will never again have a pet pull acident and you have full controll of pet. and then just ctrl up/down for camera..