BIS fnc threat: Difference between revisions
Jump to navigation
Jump to search
(page filling) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Calculates threat values of given unit. |= | | Calculates threat values of given unit. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [unit] call [[BIS_fnc_threat]] |= | | [unit] call [[BIS_fnc_threat]] |SYNTAX= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|p1= unit: [[Object]] - Given unit|= | |p1= unit: [[Object]] - Given unit|PARAMETER1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Number]] - Threat level in range from 0 to 3|= | | [[Number]] - Threat level in range from 0 to 3|RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 22: | Line 22: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[nearTargets]], [[targetsQuery]], [[reveal]], [[side]] |= | | [[nearTargets]], [[targetsQuery]], [[reveal]], [[side]] |SEEALSO= | ||
}} | }} | ||
Revision as of 14:34, 7 April 2019
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