Greetings! I am looking for help with a one button, 2 click, pet a macro. First click sends pet to attack, second click calls pet back. I have been using one, since I got my pets, but accidentally deleted it, and can’t seem to figure it out again! I thought it was:
/petattack
/petfollow
Or something similar, but it doesn’t seem to work. Any help would be appreciated!
I know 2 ways, but don’t know the exact details of either way.
Way 1 is using /castsequence:
/castsequence petattack, petfollow
That toggles between the 2 each time you hit it. But since you may not always hit it 2 times, you need a reset to reset it to the first one. For example this resets after 20 seconds of not using it:
/castsequence reset=20 petattack, petfollow
Way 2 is using a conditional that classic macros recognize. The logic is: IF [petpassive] THEN petattack ELSE petfollow. The macro is something like:
/cast [petpassive] petattack: petfollow
But I don’t remember the exact characters to use, and I don’t know if “petpassive” is a state that macros can check.
1 Like
I don’t play hunters, so I’ll try a shot at it using a hunter I got in retail. How about this?
/petattack [@pettarget,noexists]
/petfollow [@pettarget,exists][@target,noexists]
If your pet has a target, it gets called back to you. If it doesn’t, it attacks your target. If you have no target or your target cannot be harmed, it gets called back.
Issues with this macro are:
1.) You need to press the button twice for switching targets while the pet is already attacking a target.
2.) You can press the button once to switch targets while the pet has yet to hit a target, meaning that rule #1 feels inconsistent.
3.) You cannot call back a pet if it has yet to hit a target, unless you meet the condition that the player has no target or that the target is friendly.
For these reasons, I’d probably prefer:
/petattack [@target,exists,harm]
/petfollow [@target,noexists][@target,exists,noharm]
It relies upon player targeting conditionals rather than pet targeting conditionals. This lets you switch targets in 1 key press instead of 2 at all times. To disengage a target, you simply just untarget any enemy target and press the macro.