setTriggerStatements (VBS1)

From Bohemia Interactive Community
Jump to navigation Jump to search


Introduced with Virtual Battlespace 1 version 2.12
  

Click on the images for descriptions

Introduced in

Game:
Virtual Battlespace 1
Version:
2.12.14

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

Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section