diag activeScripts: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
|version1= 1.64


|1.64
|gr1= Diagnostic


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


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


| '''diag_activeScripts'''
|r1= [[Array]]
|r1= [[Array]]


|x1= <code>[[hint]] [[str]] [[diag_activeScripts]]; //[0,0,0,1]</code>
|x1= <sqf>hint str diag_activeScripts; //[0,0,0,1]</sqf>
   
   


|seealso= [[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]]
}}
}}

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