Description
Returns true if unit knows about nearby enemy unit or driven vehicle.
Syntax
unit call BIS_fnc_enemyDetected
Parameters:
Returns: Boolean: True if an enemy was detected
Examples
Example 1
private _enemyDetected = _unit call BIS_fnc_enemyDetected;
Example 2
private _enemyDetected = [_unit, 100] call BIS_fnc_enemyDetected;