v0.13.8

TargetDirectionEnemy

functionguessedavailable in: camelot

Targets the nearest enemy in a direction. · description by wowlua

signaturewowlua
function TargetDirectionEnemy(    facing: number,    coneAngle: number?)

Parameters

nametypedescription
facingnumberThe direction, in radians.
coneAnglenumber?The width of the cone to search, in radians.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (TargetScript system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.