{"name":"BIS_fnc_threat","title":"BIS fnc threat","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_threat","revid":349272,"updated":"2023-11-08T14:51:10Z","groups":["Combat"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","description":"Calculates threat values of given unit.","syntaxes":[{"syntax":"[unit] call BIS_fnc_threat","params":[{"name":"unit","type":"Object","description":"given unit","type_expr":"Object"}],"returns":{"type":"Number","type_expr":"Number","description":"threat level in range from 0 to 3"}}],"examples":[{"code":["private _threatLevel = [player] call BIS_fnc_threat;"]}],"see_also":["nearTargets","targetsQuery","reveal","side"]}