Arma 3 Scripting

Command in Triggers

triggerText

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

Description

Returns trigger text.

Syntax

triggerText trigger

Parameters:

Returns: String

Examples

Example 1

_text = triggerText triggerName;

Multiplayer

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

See also

setTriggerText