diag activeSQFScripts: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (description, example) |
Killzone Kid (talk | contribs) (see also) |
||
Line 31: | Line 31: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[diag_log]], [[diag_fps]], [[diag_fpsmin]], [[diag_frameno]], [[diag_tickTime]], [[diag_activeSQSScripts]], [[diag_activeMissionFSMs]] |= SEEALSO | | [[diag_log]], [[diag_fps]], [[diag_fpsmin]], [[diag_frameno]], [[diag_tickTime]], [[diag_activeSQSScripts]], [[diag_activeMissionFSMs]], [[diag_activeScripts]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 20:15, 15 July 2016
Description
- Description:
- Returns an array with active SQFs.
- Groups:
- Uncategorised
Syntax
- Syntax:
- diag_activeSQFScripts
- Return Value:
- [[scriptName, fileName, isRunning, currentLine],...]: Array
- 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_activeScripts
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