v0.13.8

TargetNearestEnemy

functionimplementedavailable in: camelot

Selects the nearest enemy as the current target.

signaturewowlua
function TargetNearestEnemy(    reverse: boolean)

Parameters

nametypedescription
reversebooleantrue to cycle backwards; false to cycle forwards. Default: false.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (TargetScript system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.