Arma 3 Scripting

BIS_fnc_enemyTargets

  • Arma 3 v1.00

Function · Markdown · JSON · original wiki page

Description

Return list of nearby enemy targets for given unit.

Syntax

unit call BIS_fnc_enemyTargets

Parameters:

Returns: Array of enemies, empty if unit doesn't know about any enemy

Examples

Example 1

private _targets = _unit call BIS_fnc_enemyTargets;

See also

BIS_fnc_enemyDetected