m
Move page script moved page Focus target to WoW:Focus target without leaving a redirect
(key binding possible) |
m (Move page script moved page Focus target to WoW:Focus target without leaving a redirect) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
A '''focus target''' is a secondary [[target]] system, used to keep track of a second [[unit]] other than the currently targeted unit. The focus is a sort of "target memory" meaning that the focus can be set then recalled with simple [[macro]] commands. Furthermore, the user interface supplies full real-time updates for the currently stored focus, including health and mana updates and [[enemy casting bar]]s. | A '''focus target''' is a secondary [[target]] system, used to keep track of a second [[unit]] other than the currently targeted unit. The focus is a sort of "target memory" meaning that the focus can be set then recalled with simple [[macro]] commands. Furthermore, the user interface supplies full real-time updates for the currently stored focus, including health and mana updates and [[enemy casting bar]]s. The default UI provides a unit frame for the Focus as of recent patches. | ||
Note that actions cannot be performed directly on the focus. A player must first acquire a character (player, mob or otherwise) as the focus, often through a macro. It is also possible to bind keys to the set focus and target focus functions. | Note that actions cannot be performed directly on the focus. A player must first acquire a character (player, mob or otherwise) as the focus, often through a macro. It is also possible to bind keys to the set focus and target focus functions. | ||
| 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 [ | 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 [ | | <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> | ||
| Line 33: | Line 33: | ||
==See also== | ==See also== | ||
*[[Useful macros]] | *[[Useful macros]] | ||
[[Category:UI]] | [[Category:UI]] | ||
[[Category:Macros]] | [[Category:Macros]] | ||