setTriggerTimeout

From Bohemia Interactive Community
Revision as of 16:42, 29 August 2015 by Killzone Kid (talk | contribs) (description)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

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. For a "Seized" type of trigger, the duration value is generated using side ruling power
Groups:
Uncategorised

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:
triggerTimeouttriggerTimeoutCurrentcreateTriggersetTriggerActivationsetTriggerAreasetTriggerStatementssetTriggerTextsetTriggerType

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

Notes

Bottom Section