---
name: "ppEffectCommit"
type: command
status: ok
groups: ["Camera Control"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/ppEffectCommit
revid: 327517
updated: 2022-07-12T22:25:19Z
---

# ppEffectCommit

*Command · Camera Control · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Commit post process effect in given time.

## Syntax

### Syntax 1

```sqf
effect ppEffectCommit commit
```

**Parameters:**

- `effect`: [String](../topics/String.md) - name of the effect
- `commit`: [Number](../topics/Number.md) - duration

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

### Syntax 2

```sqf
handle ppEffectCommit commit
```

**Parameters:**

- `handle`: [Number](../topics/Number.md) - handle of the effect
- `commit`: [Number](../topics/Number.md) - duration

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

### Syntax 3

```sqf
handles ppEffectCommit commit
```

**Parameters:**

- `handles`: [Array](../topics/Array.md) of [Number](../topics/Number.md)s - list of handles
- `commit`: [Number](../topics/Number.md) - duration

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

## Examples

### Example 1

```sqf
"colorCorrection" ppEffectCommit 3;
```

### Example 2

```sqf
_hndl ppEffectCommit 3;
```

### Example 3

```sqf
[_hndl1, _hndl2] ppEffectCommit 3;
```

## See also

Post Process Effects · [ppEffectForceInNVG](../commands/ppEffectForceInNVG.md) · [ppEffectEnable](../commands/ppEffectEnable.md) · [ppEffectEnabled](../commands/ppEffectEnabled.md) · [ppEffectDestroy](../commands/ppEffectDestroy.md) · [ppEffectCreate](../commands/ppEffectCreate.md) · [ppEffectCommitted](../commands/ppEffectCommitted.md) · [ppEffectAdjust](../commands/ppEffectAdjust.md)

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