Need help with a macro please

Post Reply
Jimmyjimjames
Posts: 11

Need help with a macro please

Post by Jimmyjimjames » Sat Apr 22, 2023 8:50 pm

I am trying to make a macro that will target the nearest enemy and then use X ability, I am able to do this but I run into the problem of the target nearest enemy part continuing to cycle thru enemies, does anyone know a way to make it so I am able to target nearest enemy(or anything similar) and continue to use the ability in the macro without changing targets to something else until my target dies?

Baess
Posts: 28

Re: Need help with a macro please

Post by Baess » Sun Apr 23, 2023 2:28 pm

/script if GetUnitName("target")==nil then TargetNearestEnemy() end
Caestielle (Hagreth/Litestep HC)

Post Reply