getSuppression: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added note about players ignored by suppression)
(moved oukej's note to description for better visibility)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Gets the suppression value of given unit. Returns SCALAR between 0 and 1. |= Description
| Gets the suppression value of given unit. Returns SCALAR between 0 and 1. Suppression is not calculated for player entities. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 30: Line 30:
<h3 style='display:none'>Notes</h3>
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
 
<dd class="notedate">Posted on October 27, 2016
<dt class="note">'''[[User:ondrejkuzel|ondrejkuzel]]'''
<dd class="note">Suppression is not calculated for player entities.
<!-- Note Section END -->
</dl>
</dl>



Revision as of 23:52, 27 October 2016

Hover & click on the images for description

Description

Description:
Gets the suppression value of given unit. Returns SCALAR between 0 and 1. Suppression is not calculated for player entities.
Groups:
Uncategorised

Syntax

Syntax:
getSuppression unit
Parameters:
unit: Object
Return Value:
Number

Examples

Example 1:
getSuppression AI_unit_1;

Additional Information

See also:
setSuppressionsuppressFor

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