setSuppression

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.42
  Arguments of this scripting command have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.42

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

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

Multiplayer:
-
See also:
getSuppressionsuppressFor

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section