Macro for targeting nearest dead mob

Pretend there’s 5 non-hostile mobs with the same name in a 75 yard radius from your character.
You have a quest item that has to be used on the dead mob, but you have to target the mob before you can activate it. You can’t just be in proximity.

"/target " will only target the nearest living one, not the nearest live/dead.

The general structure I would think would be something along the lines of
/target
/use
but again, it targets the nearest living one, not the dead one.

I would think this would be the same as whatever macro is used for a Death Knight’s corpse explosion when they have one specifically targeted or would want to.

And yes, there’s been lots of searching on what this answer could be. I’m just tired of my ADHD kicking me on figuring this one out.

There’s no command for targeting corpses.

The best thing I can think of is to use a mouseover target macro

/target [@mouseover,exists,dead]
/use

It’s not what you’re looking for, but it can at least save some clicking.

1 Like