Arma 3 Scripting

Command in Triggers

triggerStatements

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns trigger statements.

Syntax

triggerStatements trigger

Parameters:

Returns: Array with [condition, activation, deactivation]

Examples

Example 1

_statements = triggerStatements someTrigger;

Multiplayer

The trigger could be local or remote but the result returned by this command will be for the trigger statements set up locally on the client that executed the command. See createTrigger for more info.

See also

setTriggerStatements