Autoshot+Pet Attack macro?
Autoshot+Pet Attack macro?
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?
Re: Autoshot+Pet Attack macro?
Code: Select all
/run CastSpellByName("Auto Shot") PetAttack()
Re: Autoshot+Pet Attack macro?
Finally found one that works!
/script PetAttack(target)
/cast Auto Shot
/script PetAttack(target)
/cast Auto Shot
Re: Autoshot+Pet Attack macro?
I've been using this in dungeons..currently lvl 47 and have not ran into any issues?Turtlebisque wrote: ↑Sun Dec 24, 2023 1:49 amDon't use this in dungeons it won't end well I promise
-
- Posts: 5
Re: Autoshot+Pet Attack macro?
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
-
- Posts: 7
Re: Autoshot+Pet Attack macro?
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()
/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()
Re: Autoshot+Pet Attack macro?
/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
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
Re: Autoshot+Pet Attack macro?
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