setTriggerStatements (VBS1)

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Virtual Battlespace 1 version 2.12.142.12
Hover & click on the images for descriptions

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
Return Value:
Nothing

Examples

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

Additional Information

See also:
See also needed
Groups:

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section