setTriggerTimeout: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 23: Line 23:
'''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.
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:'''
'''Example:'''


trigger '''setTriggerTimeout''' [5, 10, 7, false]
trigger '''setTriggerTimeout''' [5, 10, 7, false]

Revision as of 21:19, 4 July 2006


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]