setTriggerStatements: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|SETTRIGGERSTATEMENTS]]
[[Category:Scripting Commands ArmA|SETTRIGGERSTATEMENTS]]


<new command not populated>


<h2 style="color:#000066">'''''trigger'' setTriggerStatements ''[cond, activ, desactiv]'''''</h2>


<h2 style="color:#000066">''''' setTriggerStatements '''''</h2>


'''Operand types:'''


'''Operand types:'''
'''trigger:''' [[Object]]
 
'''[cond, activ, desactiv]:''' [[Array]]


'''Type of returned value:'''
'''Type of returned value:'''
[[Nothing]]


'''Compatibility:'''
'''Compatibility:'''
Version 1.86 required.


'''Description:'''
'''Description:'''


The first argument can modify the condition of when the trigger is activated. The result of the activation defined by trigger activation is in variable this. Variable thisList contains all vehicles which caused the activation. Activ and desactiv expressions are launched upon trigger activation / deactivation.


'''Example:'''
'''Example:'''
trigger '''setTriggerStatements''' ["this", "ok = true", "ok = false"]

Revision as of 17:23, 4 July 2006


trigger setTriggerStatements [cond, activ, desactiv]


Operand types:

trigger: Object

[cond, activ, desactiv]: Array

Type of returned value:

Nothing

Compatibility:

Version 1.86 required.

Description:

The first argument can modify the condition of when the trigger is activated. The result of the activation defined by trigger activation is in variable this. Variable thisList contains all vehicles which caused the activation. Activ and desactiv expressions are launched upon trigger activation / deactivation.

Example:

trigger setTriggerStatements ["this", "ok = true", "ok = false"]