AddOn Studio Wiki
Advertisement

WoW API < FocusUnit

Is supposed to 'focus' on targeted unit, same thing that /focus does. However, this /script command has been blocked by blizzard to avoid people making bots. However /RunMacroText("/focus") can be used still.

FocusUnit();
Advertisement