diag activeScripts: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{DISPLAYTITLE:diag_activeScripts}}
{{DISPLAYTITLE:diag_activeScripts}}
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 8: Line 7:


|gr1= Diagnosis |GROUP1=
|gr1= Diagnosis |GROUP1=
____________________________________________________________________________________________


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


| '''diag_activeScripts''' |SYNTAX=
| '''diag_activeScripts''' |SYNTAX=
Line 17: Line 14:
|x1= <code>[[hint]] [[str]] [[diag_activeScripts]]; //[0,0,0,1]</code>|EXAMPLE1=
|x1= <code>[[hint]] [[str]] [[diag_activeScripts]]; //[0,0,0,1]</code>|EXAMPLE1=
   
   
____________________________________________________________________________________________


| [[diag_log]], [[diag_fps]], [[diag_fpsmin]], [[diag_frameno]], [[diag_tickTime]], [[diag_activeSQFScripts]], [[diag_activeSQSScripts]], [[diag_activeMissionFSMs]] |SEEALSO=  
| [[diag_log]], [[diag_fps]], [[diag_fpsmin]], [[diag_frameno]], [[diag_tickTime]], [[diag_activeSQFScripts]], [[diag_activeSQSScripts]], [[diag_activeMissionFSMs]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 00:45, 17 January 2021


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:
Diagnosis

Syntax

Syntax:
diag_activeScripts
Return Value:
Array

Examples

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

Additional Information

See also:
diag_logdiag_fpsdiag_fpsmindiag_framenodiag_tickTimediag_activeSQFScriptsdiag_activeSQSScriptsdiag_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

Notes

Bottom Section