setTriggerTimeout

From Bohemia Interactive Community
Revision as of 21:19, 4 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


trigger setTriggerTimeout [min, mid, max, interruptable]


Operand types:

trigger: Object

[min, mid, max, interruptable]: Array

Type of returned value:

Nothing

Compatibility:

Version 1.86 required.

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.


Example:

trigger setTriggerTimeout [5, 10, 7, false]