triggerStatements: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (example)
m (template:command argument fix)
Line 16: Line 16:
| '''triggerStatements''' trigger |= Syntax
| '''triggerStatements''' trigger |= Syntax


|p1= trigger: [[Object]] |= PARAMETER1
|p1= trigger: [[Object]] |PARAMETER1=  


|p2= |= PARAMETER2
|p2= |PARAMETER2=  


|p3= |= PARAMETER3
|p3= |PARAMETER3=  


| [[Array]] |= RETURNVALUE
| [[Array]] |RETURNVALUE=  




|x1= <code>_statements = [[triggerStatements]] someTrigger;</code>|= EXAMPLE1
|x1= <code>_statements = [[triggerStatements]] someTrigger;</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[setTriggerStatements]] |= SEEALSO
| [[setTriggerStatements]] |SEEALSO=  


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

Revision as of 10:38, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns trigger statements in the form [cond, activ, desactiv]. Note: The trigger could be local or remote but the result returned by this command will be for the trigger condition set up locally on the client that executed the command. See createTrigger for more info.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
_statements = triggerStatements someTrigger;

Additional Information

See also:
setTriggerStatements

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