{"name":"BIS_fnc_enemyDetected","title":"BIS fnc enemyDetected","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_enemyDetected","revid":379494,"updated":"2026-10-31T00:26:14Z","groups":["Combat"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Returns true if unit knows about nearby enemy unit or driven vehicle.","syntaxes":[{"syntax":"unit call BIS_fnc_enemyDetected","params":[{"name":"unit","type":"Object","description":"unit that is inspected","type_expr":"Object"},{"name":"distance","type":"Number","description":"radius around unit to check","type_expr":"Number","text":"distance - Number: radius around unit to check"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"True if an enemy was detected"}}],"examples":[{"code":["private _enemyDetected = _unit call BIS_fnc_enemyDetected;"]},{"code":["private _enemyDetected = [_unit, 100] call BIS_fnc_enemyDetected;"]}],"see_also":["BIS_fnc_enemyTargets"]}