setSuppression
Jump to navigation
Jump to search
Hover & click on the images for descriptions
Description
- Description:
-
Sets the given suppression value for the given unit. The value range is from 0 to 1.
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
- Groups:
- Object Manipulation