Autoshot+Pet Attack macro?

Post Reply
User avatar
Azcron
Posts: 53

Autoshot+Pet Attack macro?

Post by Azcron » Thu Dec 21, 2023 2:29 pm

I've been trying to get a macro to have my pet attack when casting autoshot. I've tried different macros that ive come across but nothing is working. Anyone have a macro that works for them?

User avatar
Vimgreen
Posts: 32

Re: Autoshot+Pet Attack macro?

Post by Vimgreen » Thu Dec 21, 2023 2:33 pm

Think these ones mostly worked for me:

https://forum.nostalrius.org/viewtopic.php?f=38&t=21017
Officer of Dancing Boars
Hunter Main

Snigery
Posts: 58

Re: Autoshot+Pet Attack macro?

Post by Snigery » Sat Dec 23, 2023 4:19 am

Azcron wrote:
Thu Dec 21, 2023 2:29 pm
I've been trying to get a macro to have my pet attack when casting autoshot. I've tried different macros that ive come across but nothing is working. Anyone have a macro that works for them?

Code: Select all

/run CastSpellByName("Auto Shot") PetAttack()
Something like this might work?

User avatar
Azcron
Posts: 53

Re: Autoshot+Pet Attack macro?

Post by Azcron » Sat Dec 23, 2023 5:42 pm

Finally found one that works!
/script PetAttack(target)
/cast Auto Shot

Turtlebisque
Posts: 5

Re: Autoshot+Pet Attack macro?

Post by Turtlebisque » Sun Dec 24, 2023 1:49 am

Don't use this in dungeons it won't end well I promise

User avatar
Azcron
Posts: 53

Re: Autoshot+Pet Attack macro?

Post by Azcron » Tue Dec 26, 2023 2:54 pm

Turtlebisque wrote:
Sun Dec 24, 2023 1:49 am
Don't use this in dungeons it won't end well I promise
I've been using this in dungeons..currently lvl 47 and have not ran into any issues?

Turtlebisque
Posts: 5

Re: Autoshot+Pet Attack macro?

Post by Turtlebisque » Tue Dec 26, 2023 11:07 pm

Dont want your pet to body pull mobs. I keep my pet attack macro on a special key if I want it to attack or not

Ihavenoclothes
Posts: 7

Re: Autoshot+Pet Attack macro?

Post by Ihavenoclothes » Mon Feb 12, 2024 5:47 pm

I've been using this one.

/script if GetUnitName("target")==nil then TargetNearestEnemy() end
/run if CheckInteractDistance("target", 3) and (not PlayerFrame.inCombat) then AttackTarget() elseif not IsAutoRepeatAction(12) then CastSpellByName("Auto Shot") end
/script PetAttack()

User avatar
Booglesz
Posts: 26

Re: Autoshot+Pet Attack macro?

Post by Booglesz » Thu Apr 25, 2024 12:36 am

/script if UnitExists("target") then if a ==0 then PetAttack(target) a=1 else if UnitExists("pettarget") and UnitIsUnit("target","pettarget") then PetFollow("Leonhardtusk") a=0 else PetAttack(target) end;end; else PetFollow("Leonhardtusk") a=0 end;

Change "Leonhardtusk" to your name.
This is attack and if you press it again it turns on follow and brings them back to you. I have it bound to one of my mouse buttons for quick on off usage

pet attack/pet follow

/script if GetUnitName("target")==nil then TargetNearestEnemy() end
/run if CheckInteractDistance("target", 3) and (not PlayerFrame.inCombat) then AttackTarget() elseif not IsAutoRepeatAction(3) then CastSpellByName("Auto Shot") end

auto shot/melee attack on/off

i have each one bound to mouse keys for quick usage

Calli
Posts: 266

Re: Autoshot+Pet Attack macro?

Post by Calli » Thu Apr 25, 2024 9:09 am

Just bind pet attack and pet follow to ur mouse roll and put zooms elsewhere to make your life easy. Macroing this very basic thing is nonsense and can make a mess very easy in dungeons especially at hc

Post Reply