setSuppression: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style='display:none'>Notes</h3>" to "")
m (Text replacement - " <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "")
Line 28: Line 28:
}}
}}


<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>


<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>

Revision as of 15:37, 18 January 2021

Hover & click on the images for description

Description

Description:
Sets the given suppression value for the given unit. The value range is from 0 to 1.

The unit must not be objNull, must be local and alive
Groups:
Object Manipulation

Syntax

Syntax:
unit setSuppression value
Parameters:
unit: Object
value: Number - suppression value from 0 to 1
Return Value:
Nothing

Examples

Example 1:
AI_unit_1 setSuppression 1;

Additional Information

See also:
getSuppressionsuppressFor

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


Bottom Section