diag activeSQFScripts: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
m (formatted return value) |
||
Line 13: | Line 13: | ||
| '''diag_activeSQFScripts''' |= Syntax | | '''diag_activeSQFScripts''' |= Syntax | ||
| <nowiki>[</nowiki>[scriptName, fileName, isRunning, currentLine],...]: | | [[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 17:37, 25 January 2017
Description
- Description:
- Returns an array with active SQFs.
- Groups:
- Uncategorised
Syntax
- Syntax:
- diag_activeSQFScripts
- Return Value:
- Array - 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
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