BIS fnc threat: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(page filling) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 8: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Calculates threat values of given unit. |= Description | ||
____________________________________________________________________________________________ | |||
| [unit] call [[BIS_fnc_threat]] |= Syntax | |||
____________________________________________________________________________________________ | |||
|p1= unit: [[Object]] - Given unit|= Parameter 1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Number]] - Threat level in range from 0 to 3|= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>_threatLevel = [ [[player]] ] [[call]] [[BIS_fnc_threat]];</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[nearTargets]], [[targetsQuery]], [[reveal]], [[side]] |= See also | ||
}} | |||
<h3 style="display:none">Notes</h3> | <h3 style="display:none">Notes</h3> |
Revision as of 16:39, 29 May 2018
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