getSuppression: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (added note about players ignored by suppression)
Line 31: Line 31:
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- 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 -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 15:03, 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.
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

Posted on October 27, 2016
ondrejkuzel
Suppression is not calculated for player entities.

Bottom Section