setTriggerStatements

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Armed Assault version 1.00

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

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.

Syntax

Syntax:
trigger setTriggerStatements ["cond", "activ", "desactiv"]
Parameters:
trigger: Object
[cond, activ, desactiv]: Array Strings
Return Value:
Nothing

Examples

Example 1:
_trigger setTriggerStatements ["this", "ok = true", "ok = false"]

Additional Information

Multiplayer:
Behaviour unknown.
See also:
createTrigger, setTriggerActivation, setTriggerArea, setTriggerText, setTriggerTimeout, setTriggerType

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools
Buy ArmA now!