setSuppression: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 8: Line 8:


| Sets the given suppression value for the given unit. The value range is from 0 to 1. <br><br>   
| Sets the given suppression value for the given unit. The value range is from 0 to 1. <br><br>   
{{Important | The unit must not be [[objNull]], must be [[local]] and [[alive]]}}  |= Description
{{Important | The unit must not be [[objNull]], must be [[local]] and [[alive]]}}  |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit '''setSuppression''' value |= Syntax
| unit '''setSuppression''' value |SYNTAX=


|p1= unit: [[Object]]  |PARAMETER1=  
|p1= unit: [[Object]]  |PARAMETER1=  

Revision as of 14:48, 7 April 2019

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:
Uncategorised

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

Notes

Bottom Section