getSuppression

From Bohemia Interactive Community
Revision as of 16:03, 27 October 2016 by Ondrejkuzel (talk | contribs) (added note about players ignored by suppression)
Jump to navigation Jump to search
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