Arma 3 Scripting

setTriggerTimeout

  • Global argument
  • Local effect
  • Arma 3 v0.50
  • First in Armed Assault v1.00

Command · Markdown · JSON · original wiki page

Description

Defines the time between condition satisfaction and trigger activation (randomly from min to max, with an average value mid). If the last argument is true, the condition must be fullfilled all the time.

For a normal trigger, min, mid and max are used to generate random duration according to Gaussian Distribution (ref: Technically, it is a rescaled Bates distribution with n = 4. The distribution is split in two at its midpoint and scaled linearly such that its maximum lies at the specified midpoint.). For a "Seized" type of trigger, the duration value is generated using side ruling power

Syntax

trigger setTriggerTimeout [min, mid, max, interruptable]

Parameters:

Returns: Nothing

Examples

Example 1

_trigger setTriggerTimeout [5, 10, 7, false];

See also

triggerTimeout · triggerTimeoutCurrent · createTrigger · setTriggerActivation · setTriggerArea · setTriggerStatements · setTriggerText · setTriggerType · triggerInterval · setTriggerInterval · enableSimulation · simulationEnabled