diag activeScripts: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(34 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:diag_activeScripts}}
{{RV|type=command
{{Command|= Comments
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 1.64


|1.64|= Game version
|gr1= Diagnostic
____________________________________________________________________________________________


| Returns 4 element array with numbers of currently running scripts in format: <nowiki>[</nowiki>[[spawn]]-ed, [[execVM]]-ed, [[exec]]-ed, [[execFSM]]-ed] |= Description
|descr= Returns 4 element array with numbers of currently running scripts in format: [<nowiki/>[[spawn]]-ed, [[execVM]]-ed, [[exec]]-ed, [[execFSM]]-ed]
____________________________________________________________________________________________


| '''diag_activeScripts''' |= Syntax
|s1= [[diag_activeScripts]]
| [[Array]] |= Return Value
 
|x1= <code>[[hint]] [[str]] [[diag_activeScripts]]; //[0,0,0,1]</code>|= Example 1
|r1= [[Array]]
 
|x1= <sqf>hint str diag_activeScripts; //[0,0,0,1]</sqf>
   
   
____________________________________________________________________________________________
| [[diag_log]], [[diag_fps]], [[diag_fpsmin]], [[diag_frameno]], [[diag_tickTime]], [[diag_activeSQFScripts]], [[diag_activeSQSScripts]], [[diag_activeMissionFSMs]] |SEEALSO=


| |MPBEHAVIOUR=  
|seealso= [[diag_log]] [[diag_fps]] [[diag_fpsmin]] [[diag_frameno]] [[diag_tickTime]] [[diag_activeSQFScripts]] [[diag_activeSQSScripts]] [[diag_activeMissionFSMs]]
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 10:22, 13 May 2022

Hover & click on the images for description

Description

Description:
Returns 4 element array with numbers of currently running scripts in format: [spawn-ed, execVM-ed, exec-ed, execFSM-ed]
Groups:
Diagnostic

Syntax

Syntax:
diag_activeScripts
Return Value:
Array

Examples

Example 1:
hint str diag_activeScripts; //[0,0,0,1]

Additional Information

See also:
diag_log diag_fps diag_fpsmin diag_frameno diag_tickTime diag_activeSQFScripts diag_activeSQSScripts diag_activeMissionFSMs

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