Arma 3 Scripting

Command in Triggers

setTriggerInterval

Also available as Markdown and JSON, or read the original wiki page.

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. This command cannot change the interval of the attached trigger. The trigger can also be "frozen" with enableSimulation command.

Syntax

trigger setTriggerInterval interval

Parameters:

Returns: Nothing

Examples

Example 1

_trigger setTriggerInterval 5;

Multiplayer

Interval changes are local.

See also

triggerInterval · triggerActivation · triggerActivated · createTrigger · setTriggerActivation · setTriggerArea · setTriggerStatements · setTriggerText · setTriggerTimeout · setTriggerType · triggerAttachVehicle · triggerAttachObject · enableSimulation · simulationEnabled