setTriggerTimeout: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofpr |= Game name | |||
|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 | |||
____________________________________________________________________________________________ | |||
''' | | trigger '''setTriggerTimeout''' [min, mid, max, interruptable] |= Syntax | ||
|p1= trigger: [[Object]] |= Parameter 1 | |||
|p2= [min, mid, max, interruptable]: [[Array]] |= Parameter 2 | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>trigger setTriggerTimeout [5, 10, 7, [[false]] ]</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|SETTRIGGERTIMEOUT]] | |||
[[Category:Scripting Commands OFP Elite |SETTRIGGERTIMEOUT]] | |||
[[Category:Scripting Commands ArmA|SETTRIGGERTIMEOUT]] | |||
Revision as of 23:33, 1 August 2006
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