getSuppression

From Bohemia Interactive Community
Jump to: navigation, 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:
Gets the suppression value of given unit. Returns SCALAR between 0 and 1. Suppression is not calculated for player entities.

Syntax

Syntax:
getSuppression unit
Parameters:
unit: Object
Return Value:
Number

Examples

Example 1:
getSuppression AI_unit_1;

Additional Information

Multiplayer:
-
See also:
setSuppressionsuppressFor

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