Mouseover macro?

Is there a way to write a mouse over macro (never used one) that if i do not have my mouse over a player or portrait will counter shot my main target. And if i do have it hovered over a player or portrait will kick that target instead of my current target

Should be along these lines

The one Taiger linked would do the trick.

Specifically for Counter Shot, it would be this:

#showtooltip Counter Shot
/cast [@mouseover,harm][]Counter Shot

Hey thank you both of you. I appreciate yall

Don’t hard code the tooltip like that, makes it so the icon doesn’t range find to your mouseover properly, just let it inherit from the cast.

#showtooltip
/cast [@mouseover,harm,nodead] [] Counter Shot

What do you mean by hard code?

If you do:

#showtooltip any-ability-you-want

then it forces the macro to display the tooltip of that specific ability, even if you can’t use it. like you could force it to show freezing trap or something, and it will potentially not display range correctly.

if you don’t specify the ability, use the ? icon, and let the tooltip automatically adjust, then when you have a valid target but try to mouseover a target who’s valid but out-of-range then the tooltip will show as out-of-range.

if you hardcode specify the ability & do the same, the tooltip won’t change to show you what’s wrong.

2 Likes

Wow thats awesome some of my macros werent displaying range correctly. You just told me why. Thats really great you just fixed like 12 of my macros. Thank you as well

Icyveins has a macros page for each hunter spec there is some crossover but its super useful and I use quite a lot of them myself https://www.icy-veins.com/wow/beast-mastery-hunter-pve-dps-macros-addons

Sure I guess. Never had that issue, but if you say so…