triggerType: 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 8: Line 7:


|gr1= Triggers |GROUP1=
|gr1= Triggers |GROUP1=
____________________________________________________________________________________________


| Returns trigger type (see [[setTriggerType]]).  
| Returns trigger type (see [[setTriggerType]]).  


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


| '''triggerType''' trigger |SYNTAX=
| '''triggerType''' trigger |SYNTAX=
Line 28: Line 25:
|x1= <code>_type = [[triggerType]] tr1;</code>|EXAMPLE1=  
|x1= <code>_type = [[triggerType]] tr1;</code>|EXAMPLE1=  


____________________________________________________________________________________________


| [[setTriggerType]] |SEEALSO=  
| [[setTriggerType]] |SEEALSO=  


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



Revision as of 03:59, 17 January 2021

Hover & click on the images for description

Description

Description:
Returns trigger type (see setTriggerType).

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

Syntax

Syntax:
triggerType trigger
Parameters:
trigger: Object
Return Value:
String

Examples

Example 1:
_type = triggerType tr1;

Additional Information

See also:
setTriggerType

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