Arma 3 Scripting

Command in Triggers

triggerActivation

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

Description

Returns trigger activation.

Important

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

Syntax

triggerActivation trigger

Parameters:

Returns: Array with [by, type, repeating, persistent]

Examples

Example 1

_activation = triggerActivation someTrigger;

See also

setTriggerActivation · triggerActivated · triggerInterval · setTriggerInterval · enableSimulation · simulationEnabled