WoW:Useful patterns in macros: Difference between revisions

m
no edit summary
mNo edit summary
Line 3: Line 3:
This page is intended to provide patterns that may be useful in constructing your own macros, filling a niche between a reference page for macros ([[HOWTO: Make a Macro]]) and a list of generally [[Useful macros]].
This page is intended to provide patterns that may be useful in constructing your own macros, filling a niche between a reference page for macros ([[HOWTO: Make a Macro]]) and a list of generally [[Useful macros]].


= Managing Focus =
== Managing Focus ==


'Focus' is a [[UnitId]] newly available in WoW 2.0 which provides for a means for macros (and addons under keyboard/mouse control) to 'remember' some other [[UnitId]]. Unit frame addons allow a player to track the health and status of the focused unit while targeting other units. Macros can be written to cast spells on the focused unit. Moreover, click-style addons such as Clique can be used on the focus' unit frame as appropriate. These possibilities are the motivation for including focus management in macros.
'Focus' is a [[UnitId]] newly available in WoW 2.0 which provides for a means for macros (and addons under keyboard/mouse control) to 'remember' some other [[UnitId]]. Unit frame addons allow a player to track the health and status of the focused unit while targeting other units. Macros can be written to cast spells on the focused unit. Moreover, click-style addons such as Clique can be used on the focus' unit frame as appropriate. These possibilities are the motivation for including focus management in macros.
Anonymous user