Warning: file_put_contents(/ff_a47122bcd6eff77fb48217c269809df7c58312d90e8477c2.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
setTriggerStatements - OFPEC Scripting Command Reference | OFPEC The Editing Center

trigger setTriggerStatements [cond, activ, desactiv]

Operand types

trigger: Object
[cond, activ, desactiv]: Array

Type of returned value

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.

Used In

ArmA

Example

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

Advertisement