Arma 3 Scripting

Command in Diagnostic

diag_activeSQFScripts

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

Description

Returns information about active SQF scripts. To see number of all scripts currently in the scheduler use diag_activeScripts.

Syntax

diag_activeSQFScripts

Returns: Array of Arrays - to format [[scriptName, fileName, isRunning, currentLine], ...]:

Examples

Example 1

0 spawn { hint str diag_activeSQFScripts; }; // displays [["<spawn> hint str diag_activeSQFScripts;", "", true, 1]]

Example 2

0 spawn {
    hint str diag_activeSQFScripts; // displays [["<spawn> hint str diag_activeSQFScripts;", "", true, 2]]
};

Example 3

0 spawn {
    scriptName "aScript";
    hint str diag_activeSQFScripts; // displays [["aScript", "", true, 3]]
};

See also

diag_log · diag_fps · diag fpsmin · diag_frameNo · diag_tickTime · diag_activeSQSScripts · diag_activeMissionFSMs · diag_activeScripts · execVM · spawn