WoW:Focus target: Difference between revisions

12 bytes removed ,  15 August 2023
m
Move page script moved page Focus target to WoW:Focus target without leaving a redirect
No edit summary
m (Move page script moved page Focus target to WoW:Focus target without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
Focusing is usually done through [[macro]]s. To set a mob or player as the focus, first target it then type the command <tt>/focus</tt> into the chat window. To re-acquire the focus as the current target, use the command <tt>/target focus</tt>. To clear the focus, use the command <tt>/clearfocus</tt>. In the default user interface, the target unit frame will be highlighted in white if it is also the focus.
Focusing is usually done through [[macro]]s. To set a mob or player as the focus, first target it then type the command <tt>/focus</tt> into the chat window. To re-acquire the focus as the current target, use the command <tt>/target focus</tt>. To clear the focus, use the command <tt>/clearfocus</tt>. In the default user interface, the target unit frame will be highlighted in white if it is also the focus.


Focus works as a generic unit name in macros, similar to "player", "target", or "pet".  This means it can be passed to UI functions that take a unit name, or used in modifiers in macros. For example <tt>/cast [target=focus] Polymorph</tt> would attempt to cast [[Polymorph]] on whatever the stored target is.  A mage using this macro simply has to set his focus to the mob he wants to sheep, and can re-sheep with one button without having to manually click the mob again.
Focus works as a generic unit name in macros, similar to "player", "target", or "pet".  This means it can be passed to UI functions that take a unit name, or used in modifiers in macros. For example <tt>/cast [@focus] Polymorph</tt> would attempt to cast [[Polymorph]] on whatever the stored target is.  A mage using this macro simply has to set his focus to the mob he wants to sheep, and can re-sheep with one button without having to manually click the mob again.


{| class="darktable"
{| class="darktable"
Line 23: Line 23:
| <tt>/target focustarget</tt> || Target whatever the focus is targeting<sup>1</sup>
| <tt>/target focustarget</tt> || Target whatever the focus is targeting<sup>1</sup>
|-
|-
| <tt>/cast [target=focus] ...</tt> || Targeting the focus as a modifier of another spell<sup>2</sup>
| <tt>/cast [@focus] ...</tt> || Targeting the focus as a modifier of another spell<sup>2</sup>
|-class="alt"
|-class="alt"
| <tt>/script SetRaidTarget("focus", 1)</tt> || Set a raid icon on the focus<sup>3</sup>
| <tt>/script SetRaidTarget("focus", 1)</tt> || Set a raid icon on the focus<sup>3</sup>
Anonymous user