WoW:API AssistUnit: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 30: Line 30:


{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Functions|AssistUnit]]
[[Category:API Activity Functions|AssistUnit]]
[[Category:API Unit Functions|AssistUnit]]

Revision as of 18:57, 3 January 2006

AssistUnit -Documentation by LumpN-

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.

Template:WoW API