WoW:API AssistUnit: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Move page script moved page API AssistUnit to WoW:API AssistUnit without leaving a redirect) |
(No difference)
| |
Latest revision as of 04:45, 15 August 2023
← WoW API < AssistUnit
This function is PROTECTED, and can only be called from Blizzard code.
|
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.