---
name: "setTriggerInterval"
type: command
status: ok
groups: ["Triggers"]
arma3_since: "1.98"
locality: {"argument": "global", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/setTriggerInterval
revid: 353312
updated: 2024-03-15T17:11:45Z
---

# setTriggerInterval

*Command · Triggers · Arma 3 v1.98*

Locality: arguments **global** · effect **local**

## Description

Sets the interval in seconds for trigger condition check.

> [!NOTE]
> Triggers are configured to check condition approx. every 0.5 second by default. This command allows either to slow down or to speed up default check interval per trigger. Setting interval to 0 will make the trigger check its condition every frame. However, when trigger is attached to some object, the trigger will inherit the simulation frequency of the object it is [attached to](../commands/attachedTo.md). This command cannot change the interval of the attached trigger. The trigger can also be "frozen" with [enableSimulation](../commands/enableSimulation.md) command.

## Syntax

```sqf
trigger setTriggerInterval interval
```

**Parameters:**

- `trigger`: [Object](../topics/Object.md) - trigger object
- `interval`: [Number](../topics/Number.md) - interval in seconds with which trigger condition is checked

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

## Examples

### Example 1

```sqf
_trigger setTriggerInterval 5;
```

## Multiplayer

Interval changes are local.

## See also

[triggerInterval](../commands/triggerInterval.md) · [triggerActivation](../commands/triggerActivation.md) · [triggerActivated](../commands/triggerActivated.md) · [createTrigger](../commands/createTrigger.md) · [setTriggerActivation](../commands/setTriggerActivation.md) · [setTriggerArea](../commands/setTriggerArea.md) · [setTriggerStatements](../commands/setTriggerStatements.md) · [setTriggerText](../commands/setTriggerText.md) · [setTriggerTimeout](../commands/setTriggerTimeout.md) · [setTriggerType](../commands/setTriggerType.md) · [triggerAttachVehicle](../commands/triggerAttachVehicle.md) · [triggerAttachObject](../commands/triggerAttachObject.md) · [enableSimulation](../commands/enableSimulation.md) · [simulationEnabled](../commands/simulationEnabled.md)

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