Arma 3 Scripting

Command in Object Manipulation

getAttackTarget

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns the target given unit is engaging.

Syntax

getAttackTarget unit

Parameters:

Returns: Object

Examples

Example 1

private _unitsTarget = getAttackTarget _unit;

See also

assignedTarget