diag activeSQFScripts: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *gr([0-9]) *= *Diagnosis * " to "|gr$1= Diagnostic ")
m (Text replacement - "SQF" to "SQF")
Line 7: Line 7:
|gr1= Diagnostic
|gr1= Diagnostic


|descr= Returns information about active [[SQF]] scripts. To see number of all scripts currently in the scheduler use [[diag_activeScripts]].
|descr= Returns information about active [[SQF Syntax|SQF]] scripts. To see number of all scripts currently in the scheduler use [[diag_activeScripts]].


|s1= [[diag_activeSQFScripts]]
|s1= [[diag_activeSQFScripts]]

Revision as of 23:58, 24 March 2021

Hover & click on the images for description

Description

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

Syntax

Syntax:
diag_activeSQFScripts
Return Value:
Array of Arrays - to format [[scriptName, fileName, isRunning, currentLine], ...]:

Examples

Example 1:
[] spawn { hint str diag_activeSQFScripts; }; // displays [["<spawn> hint str diag_activeSQFScripts;", "", true, 1]]
Example 2:
[] spawn { hint str diag_activeSQFScripts; // displays [["<spawn> hint str diag_activeSQFScripts;", "", true, 2]] };
Example 3:
[] spawn { scriptName "aScript"; hint str diag_activeSQFScripts; // displays [["aScript", "", true, 3]] };

Additional Information

See also:
diag_logdiag_fpsdiag_fpsmindiag_frameNodiag_tickTimediag_activeSQSScriptsdiag_activeMissionFSMsdiag_activeScriptsexecVMspawn

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note