BIS fnc threat: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
Line 21: Line 21:




<h3 style="display:none">Bottom Section</h3>
 


[[Category:Functions|{{uc:threat}}]]
[[Category:Functions|{{uc:threat}}]]

Revision as of 02:25, 18 January 2021

Hover & click on the images for description

Description

Description:
Calculates threat values of given unit.
Execution:
call
Groups:
Combat

Syntax

Syntax:
[unit] call BIS_fnc_threat
Parameters:
unit: Object - Given unit
Return Value:
Number - Threat level in range from 0 to 3

Examples

Example 1:
_threatLevel = [player ] call BIS_fnc_threat;

Additional Information

See also:
nearTargetstargetsQueryrevealside

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note