Warning: file_put_contents(/ff_ef7bf0677b91fdd7a1ecf12d1946e1c79e8d77f3d564d93e.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