Warning: file_put_contents(/ff_97f8de26904ed19f47e2bf1c438844659cb3ff85375c1812.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
diag_activeSQFScripts - OFPEC Scripting Command Reference | OFPEC The Editing Center

diag_activeSQFScripts

Operand types

None

Type of returned value

Description

Returns an array with active SQFs in format [[scriptName, fileName, isRunning, currentLine],...]

scriptName: String - function or filename. Custom name can be set with scriptName
fileName: String
isRunning: Boolean
currentLine: Number - line currently executing

Used In

Arma3

Example

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

[] spawn {
scriptName "myScript";
hint str diag_activeSQFScripts; //[["myScript","",true,1]]
};

Advertisement