WoW:API TargetLastEnemy: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API TargetLastEnemy to API TargetLastEnemy without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<center>'''TargetLastEnemy''' ''-Documentation by danboo-''</center>
{{protectedapi|2.0.1|}}
 
{{wowapi}}
Selects the last targetted enemy as the current target.
Selects the last targetted enemy as the current target.


Line 25: Line 25:


: Selects the last targetted enemy as the current target. It will select a dead enemy's corpse if that was the last live enemy targetted.
: Selects the last targetted enemy as the current target. It will select a dead enemy's corpse if that was the last live enemy targetted.
----
{{Template:WoW API}}

Latest revision as of 04:47, 15 August 2023

WoW API < TargetLastEnemy

Selects the last targetted enemy as the current target.

TargetLastEnemy();

Arguments
none

Returns
nil

Example
TargetLastEnemy();
Result

Description
Selects the last targetted enemy as the current target. It will select a dead enemy's corpse if that was the last live enemy targetted.