triggerTimeout: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 9: Line 8:
|gr1= Triggers |GROUP1=
|gr1= Triggers |GROUP1=


____________________________________________________________________________________________


| Returns trigger timeout in the form [min, mid, max, interruptable].
| Returns trigger timeout in the form [min, mid, max, interruptable].


<br><br>{{Important | The trigger could be [[local]] or remote but the result returned by this command will be for the trigger timeout set up locally on the client that executed the command. See [[createTrigger]] for more info.}}|DESCRIPTION=
<br><br>{{Important | The trigger could be [[local]] or remote but the result returned by this command will be for the trigger timeout set up locally on the client that executed the command. See [[createTrigger]] for more info.}}|DESCRIPTION=
____________________________________________________________________________________________


| '''triggerTimeout''' trigger |SYNTAX=
| '''triggerTimeout''' trigger |SYNTAX=
Line 29: Line 26:
|x1= <code>_timeOut = [[triggerTimeout]] someTrigger;</code>|EXAMPLE1=  
|x1= <code>_timeOut = [[triggerTimeout]] someTrigger;</code>|EXAMPLE1=  


____________________________________________________________________________________________


| [[setTriggerTimeout]], [[triggerTimeoutCurrent]] |SEEALSO=  
| [[setTriggerTimeout]], [[triggerTimeoutCurrent]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 03:57, 17 January 2021

Hover & click on the images for description

Description

Description:
Returns trigger timeout in the form [min, mid, max, interruptable].

The trigger could be local or remote but the result returned by this command will be for the trigger timeout set up locally on the client that executed the command. See createTrigger for more info.
Groups:
Triggers

Syntax

Syntax:
triggerTimeout trigger
Parameters:
trigger: Object
Return Value:
Array

Examples

Example 1:
_timeOut = triggerTimeout someTrigger;

Additional Information

See also:
setTriggerTimeouttriggerTimeoutCurrent

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