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)
 
(No difference)

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.