Arma 3 Scripting

Command in Triggers

triggerType

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

Description

Returns the trigger type.

Important

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

Syntax

triggerType trigger

Parameters:

Returns: String - can be one of the following (see setTriggerType for details):

Examples

Example 1

_type = triggerType tr1;

See also

setTriggerType