Arma 3 Scripting

Function in Combat

BIS_fnc_threat

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

Description

Calculates threat values of given unit.

Syntax

[unit] call BIS_fnc_threat

Parameters:

Returns: Number - threat level in range from 0 to 3

Examples

Example 1

private _threatLevel = [player] call BIS_fnc_threat;

See also

nearTargets · targetsQuery · reveal · side