setSuppression: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|")
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]]}}
{{Feature | important | The unit must not be [[objNull]], must be [[local]] and [[alive]]}}


| unit '''setSuppression''' value
| unit '''setSuppression''' value

Revision as of 03:11, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Manipulation

Syntax

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

Examples

Example 1:
AI_unit_1 setSuppression 1;

Additional Information

See also:
See also needed

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