Targeting previous target

Im new to macros and addons and such
is there a way i can open fire on target A, quickly switch to target B to cc, then back at target A without having to use my mouse when im in a RBG ?

What you’re describing is /targetlasttarget but you’re better off using a mouseover or focus macro for the 2nd target. Check the pins.

4 Likes

can you help elaborate. sorry i dont understand lol.

#showtooltip
/cast [@mouseover,harm,nodead][]ccspell

Put the spell you want to use to CC then you can just mouseover the enemy’s character/unit frame. If you don’t have a mouseover it will cast as it normally would (at your target).

If you use

/targetlasttarget

After everything happens you will retarget the last target you had. If you instead use the macro

/ cast [@mouseover] spell

you will cast spell at whatever player/npc your mouse is currently hovering over as if you had targeted them, cast the spell, and then retargeted the thing you are currently targeting

Focus lets you set a special unit as your focus and then direct abilities at it programmatically. Basically I want to always keep an eye on this and do thing to it.

Mouseover lets you put you cursor over a unit and then cast on it.

For CC I’d recommend a focus macro:

They can also be much simpler than that

#showtooltip
/cast [@focus,harm,nodead] [] SPELL