BIS fnc threat: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(page filling)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Calculates threat values of given unit. |= Description
| Calculates threat values of given unit. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [unit] call [[BIS_fnc_threat]] |= Syntax
| [unit] call [[BIS_fnc_threat]] |SYNTAX=
____________________________________________________________________________________________
____________________________________________________________________________________________


|p1= unit: [[Object]] - Given unit|= Parameter 1
|p1= unit: [[Object]] - Given unit|PARAMETER1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Number]] - Threat level in range from 0 to 3|= Return value
| [[Number]] - Threat level in range from 0 to 3|RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[nearTargets]], [[targetsQuery]], [[reveal]], [[side]] |= See also
| [[nearTargets]], [[targetsQuery]], [[reveal]], [[side]] |SEEALSO=
}}
}}



Revision as of 15:34, 7 April 2019

Hover & click on the images for description

Description

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

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


Notes

Bottom Section