setTriggerTimeout: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETTRIGGERTIMEOUT]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETTRIGGERTIMEOUT]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETTRIGGERTIMEOUT]]


| ofpr |= Game name


<h2 style="color:#000066">'''''trigger'' setTriggerTimeout ''[min, mid, max, interruptable]'''''</h2>
|1.86|= Game version
____________________________________________________________________________________________


| 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. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| trigger '''setTriggerTimeout''' [min, mid, max, interruptable] |= Syntax


'''trigger:''' [[Object]]
|p1= trigger: [[Object]] |= Parameter 1


'''[min, mid, max, interruptable]:''' [[Array]]
|p2= [min, mid, max, interruptable]: [[Array]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>trigger setTriggerTimeout [5, 10, 7, [[false]] ]</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 1.86 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Defines the time between condition satisfaction and trigger activation (randomly from min to max, with an average value mid).
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETTRIGGERTIMEOUT]]
If the last argument is true, the condition must be fullfilled all the time.
[[Category:Scripting Commands OFP Elite |SETTRIGGERTIMEOUT]]
 
[[Category:Scripting Commands ArmA|SETTRIGGERTIMEOUT]]
 
'''Example:'''
 
trigger '''setTriggerTimeout''' [5, 10, 7, [[false]] ]

Revision as of 00:33, 2 August 2006

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.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
trigger setTriggerTimeout [5, 10, 7, [[false]] ]

Additional Information

See also:
See also needed

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