diag activeSQSScripts: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(title fix)
m (Some wiki formatting)
 
(52 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:diag_activeSQSScripts}}
{{RV|type=command
{{Command|=
____________________________________________________________________________________________


| arma3 |= Game
|game1= arma3
|version1= 1.44


|1.44|= Game Version (number surrounded by NO SPACES)
|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= |= Multiplayer Effects ("local" or "global")
|s1= [[diag_activeSQSScripts]]


|exec= |= Multiplayer Execution ("server" or empty)
|r1= [[Array]] in format [<nowiki/>[name, fileName, isRunning, currentLine],...]:
____________________________________________________________________________________________
* name: [[String]] - function or file name
* fileName: [[String]]
* isRunning: [[Boolean]]
* currentLine: [[Number]] - line currently executing


| Returns array with active SQSs. |= Description
|x1= <sqf>{ systemChat str _x } forEach diag_activeSQSScripts;</sqf>
____________________________________________________________________________________________
 
| [[diag_activeSQSScripts]] |= Syntax
 
| <nowiki>[</nowiki>[name, fileName, isRunning, currentLine],...]: [[Array]]
* name: [[String]] - function- or filename
* fileName: [[String]] -
* isRunning: [[Boolean]] -
* currentLine: [[Number]] - line currently executing |= Return Value
 
 
 
 
<!-- END alternative syntax 4 (optional) -->
____________________________________________________________________________________________
 
|x1= <code>{[[systemChat]] [[str]] _x} [[forEach]] [[diag_activeSQSScripts]];</code> |= Example 1
____________________________________________________________________________________________
 
|mp= - |= Multiplayer Behaviour
 
| [[diag_activeMissionFSMs]], [[diag_activeSQFScripts]], [[diag_log]], [[diag_fps]], [[diag_fpsmin]], [[diag_frameno]], [[diag_tickTime]], [[diag_activeScripts]]|= See Also


|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]] ([[_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
<!-- END Note Section -->
</dl>
<h3 style="display:none">Bottom Section</h3>
<!-- Appropriate categories go here -->
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[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