FANDOM


Places / removes a given unit on / from a specified position in the focus frame.

FocusUnit( pos , unit );

Parameters Edit

Arguments Edit

pos
number - The slot in which the unit will be stored. Possible values: 1 to 12.
unit
string - A UnitID (e.g. "target", "party1", "raid1", etc..). When given an empty string, the slot will be cleared, removing the unit from the focus.

Returns Edit

nil
void - A method call without return value.

Example Edit

Places the current target in the first focus slot:

FocusUnit(1,"target")

Removes any unit placed within the 4th focus slot.

FocusUnit(4,"")

Notes Edit

Empty focus frame slot value may be used (e.g., by TargetUnit) as "focus1", "focus2", etc.

Related Functions Edit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.