Wikia

WoWWiki

API AssistUnit

Talk0
101,358pages on
this wiki
Revision as of 12:13, December 16, 2006 by Starlightblunder (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < AssistUnit

Selects the target of the specified id as the current target.

AssistUnit("unit");

Arguments
("unit")
unit 
String - The UnitId to select as a target.

Returns
nil

Example
AssistUnit("player");
Result

Description
  • Selects the target of the specified id as the current target. One can use any of the defined UnitId values. One can also use AssistUnit("unit"pet) to assist the pet.
  • If the players target was changed by a Targetting Function it is possible to restore the original target by assisting the player.

Around Wikia's network

Random Wiki