diag activeSQSScripts: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_this" to "_this")
m (Some wiki formatting)
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.44
|1.44
 
|arg=
 
|eff=
 
|serverExec=


|gr1= Diagnostic
|gr1= Diagnostic


| Returns array with active SQSs. To see number of all scripts currently in the scheduler use [[diag_activeScripts]].
|descr= Returns array with active SQSs. To see number of all scripts currently in the scheduler use [[diag_activeScripts]].


| [[diag_activeSQSScripts]]
|s1= [[diag_activeSQSScripts]]


| [[Array]] - format [<nowiki/>[name, fileName, isRunning, currentLine],...]:
|r1= [[Array]] in format [<nowiki/>[name, fileName, isRunning, currentLine],...]:
* name: [[String]] - function- or filename
* name: [[String]] - function or file name
* fileName: [[String]] -
* fileName: [[String]]
* isRunning: [[Boolean]] -
* isRunning: [[Boolean]]
* currentLine: [[Number]] - line currently executing
* currentLine: [[Number]] - line currently executing


|x1= <sqf>{ systemChat str _x } forEach diag_activeSQSScripts;</sqf>


<!-- END alternative syntax 4 (optional) -->
|seealso= [[diag_activeMissionFSMs]] [[diag_activeSQFScripts]] [[diag_log]] [[diag_fps]] [[diag_fpsmin]] [[diag_frameno]] [[diag_tickTime]] [[diag_activeScripts]]
 
|x1= <code>{[[systemChat]] [[str]] _x} [[forEach]] [[diag_activeSQSScripts]];</code>
 
|seealso= [[diag_activeMissionFSMs]], [[diag_activeSQFScripts]], [[diag_log]], [[diag_fps]], [[diag_fpsmin]], [[diag_frameno]], [[diag_tickTime]], [[diag_activeScripts]]
}}
}}
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- For example:
<dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd>
<dt class="note">[[User:User Name|User Name]]</dt>
<dd class="note">This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[Magic Variables#this|_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
<!-- END Note Section -->
</dl>
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 23:00, 16 November 2023

Hover & click on the images for description

Description

Description:
Returns array with active SQSs. To see number of all scripts currently in the scheduler use diag_activeScripts.
Groups:
Diagnostic

Syntax

Syntax:
diag_activeSQSScripts
Return Value:
Array in format [[name, fileName, isRunning, currentLine],...]:

Examples

Example 1:
{ systemChat str _x } forEach diag_activeSQSScripts;

Additional Information

See also:
diag_activeMissionFSMs diag_activeSQFScripts diag_log diag_fps diag_fpsmin diag_frameno diag_tickTime diag_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