BIS fnc threat: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\|= " to " ") |
||
Line 15: | Line 15: | ||
| [[Number]] - Threat level in range from 0 to 3|RETURNVALUE= | | [[Number]] - Threat level in range from 0 to 3|RETURNVALUE= | ||
|x1= <code>_threatLevel = [<nowiki/>[[player]] ] [[call]] [[BIS_fnc_threat]];</code> | |x1= <code>_threatLevel = [<nowiki/>[[player]] ] [[call]] [[BIS_fnc_threat]];</code> | ||
| [[nearTargets]], [[targetsQuery]], [[reveal]], [[side]] |SEEALSO= | | [[nearTargets]], [[targetsQuery]], [[reveal]], [[side]] |SEEALSO= |
Revision as of 21:14, 17 January 2021
Description
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