Arma 3 Scripting

BIS_fnc_threat

  • Arma 3 v0.50
  • First in Arma 2 v1.00

Function · Markdown · JSON · 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