API:FocusUnit

__NOTOC__
FocusUnit
Places / removes a given unit on / from a specified position in the focus frame.
FocusUnit( pos , unit );
== Parameters ==
=== Arguments ===
:;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 ===
:;nil
::void - A method call without return value.
== Example ==
Places the current target in the first focus slot:
FocusUnit(1,"target")
Removes any unit placed within the 4th focus slot.
FocusUnit(4,"")
== Notes ==
Empty focus frame slot value may be used (e.g., by TargetUnit) as "focus1", "focus2", etc.
== Related Functions ==
* TargetUnit