setTriggerTimeout: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
Line 12: Line 12:
For a normal trigger, ''min'', ''mid'' and ''max'' are used to generate random duration according to {{Wikipedia|Normal_distribution|Gaussian Distribution}}<ref>Technically, it is a rescaled {{Wikipedia|Bates_distribution|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.</ref>. For a "Seized" type of trigger, the duration value is generated using side ruling power
For a normal trigger, ''min'', ''mid'' and ''max'' are used to generate random duration according to {{Wikipedia|Normal_distribution|Gaussian Distribution}}<ref>Technically, it is a rescaled {{Wikipedia|Bates_distribution|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.</ref>. For a "Seized" type of trigger, the duration value is generated using side ruling power


| trigger '''setTriggerTimeout''' [min, mid, max, interruptable]
|s1=  trigger '''setTriggerTimeout''' [min, mid, max, interruptable]


|p1= trigger: [[Object]]
|p1= trigger: [[Object]]

Revision as of 00:29, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Triggers

Syntax

Syntax:
trigger setTriggerTimeout [min, mid, max, interruptable]
Parameters:
trigger: Object
[min, mid, max, interruptable]: Array
min: Number
mid: Number
max: Number
interruptable: Boolean
Return Value:
Nothing

Examples

Example 1:
_trigger setTriggerTimeout [5, 10, 7, false];

Additional Information

See also:
triggerTimeouttriggerTimeoutCurrentcreateTriggersetTriggerActivationsetTriggerAreasetTriggerStatementssetTriggerTextsetTriggerTypetriggerIntervalsetTriggerIntervalenableSimulationsimulationEnabled

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note