WoW:API FocusUnit: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
Is supposed to 'focus' on targeted unit, same thing that /focus does.
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. /RunMacroText("/focus") can be used yet<br />
However, this /script command has been blocked by blizzard to avoid people making bots. However <code>/RunMacroText("/focus")</code> can be used still.
<pre>
<pre>
FocusUnit();
FocusUnit();
</pre>
</pre>

Revision as of 14:06, 30 March 2016

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();