Arma 3 Scripting

Command in Program Flow

exec

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

Description

Execute a script using (the deprecated but still available) SQS Syntax. SQF Syntax (and execVM) is the most recent scripting language.

The magic variable _time used within the script contains the elapsed time in seconds since the script started.

Note

To see the active SQS scripts currently in the scheduler, use diag_activeSQSScripts command.

Syntax

argument exec script

Parameters:

Returns: Nothing

Examples

Example 1

[player, _jeep] exec "getin.sqs";

See also

execVM · call · spawn · execFSM