diag activeSQFScripts: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (formatted return value)
Line 13: Line 13:
| '''diag_activeSQFScripts''' |= Syntax
| '''diag_activeSQFScripts''' |= Syntax


| <nowiki>[</nowiki>[scriptName, fileName, isRunning, currentLine],...]: [[Array]]
| [[Array]] - format <nowiki>[</nowiki>[scriptName, fileName, isRunning, currentLine],...]:
* scriptName: [[String]] - function or filename. Custom name can be set with [[scriptName]]
* scriptName: [[String]] - function or filename. Custom name can be set with [[scriptName]]
* fileName: [[String]] -  
* fileName: [[String]] -  

Revision as of 18:37, 25 January 2017


Hover & click on the images for description

Description

Description:
Returns an array with active SQFs.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
{systemChat str _x} forEach diag_activeSQFScripts;
Example 2:
[] spawn { hint str diag_activeSQFScripts; //[["<spawn>","",true,1]] }; [] spawn { scriptName "myScript"; hint str diag_activeSQFScripts; //[["myScript","",true,1]] };

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

Notes

Bottom Section