---
name: "setSuppression"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "1.42"
locality: {"argument": "local", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/setSuppression
revid: 376979
updated: 2026-01-01T06:08:32Z
---

# setSuppression

*Command · Object Manipulation · Arma 3 v1.42*

Locality: arguments **local**

## Description

Sets the given suppression value for the given unit.

## Syntax

```sqf
unit setSuppression value
```

**Parameters:**

- `unit`: [Object](../topics/Object.md)
- `value`: [Number](../topics/Number.md) in range 0..1

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
unit_1 setSuppression 1;
```

## See also

[getSuppression](../commands/getSuppression.md) · [suppressFor](../commands/suppressFor.md)

<sub>Source: [BI Community Wiki — setSuppression](https://community.bistudio.com/wiki/setSuppression) (revision 376979).</sub>
