diag activeSQSScripts: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<!-- Appropriate categories go here -->" to "")
m (Some wiki formatting)
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:diag_activeSQSScripts}}
{{RV|type=command
{{Command


| arma3
|game1= arma3
|version1= 1.44


|1.44
|gr1= Diagnostic


|arg=  |Multiplayer Arguments("local" or "global")=
|descr= Returns array with active SQSs. To see number of all scripts currently in the scheduler use [[diag_activeScripts]].


|eff=
|s1= [[diag_activeSQSScripts]]


|serverExec=
|r1= [[Array]] in format [<nowiki/>[name, fileName, isRunning, currentLine],...]:
 
* name: [[String]] - function or file name
|gr1= Diagnosis
* fileName: [[String]]
 
* isRunning: [[Boolean]]
| Returns array with active SQSs. To see number of all scripts currently in the scheduler use [[diag_activeScripts]].
 
| [[diag_activeSQSScripts]]
 
| [[Array]] - format [<nowiki/>[name, fileName, isRunning, currentLine],...]:
* name: [[String]] - function- or filename
* fileName: [[String]] -
* isRunning: [[Boolean]] -
* currentLine: [[Number]] - line currently executing
* currentLine: [[Number]] - line currently executing


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


 
|seealso= [[diag_activeMissionFSMs]] [[diag_activeSQFScripts]] [[diag_log]] [[diag_fps]] [[diag_fpsmin]] [[diag_frameno]] [[diag_tickTime]] [[diag_activeScripts]]
 
<!-- END alternative syntax 4 (optional) -->
 
|x1= <code>{[[systemChat]] [[str]] _x} [[forEach]] [[diag_activeSQSScripts]];</code>
 
| [[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]] ([[_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 00:00, 17 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