{"name":"diag_activeScripts","operator":null,"title":"diag activeScripts","type":"command","url":"https://community.bistudio.com/wiki/diag_activeScripts","revid":379080,"updated":"2026-09-27T07:38:25Z","groups":["Diagnostic"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.64"}],"since":{"game":"arma3","name":"Arma 3","version":"1.64"},"arma3_since":"1.64","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns 4 element array with numbers of currently running scripts","syntaxes":[{"syntax":"diag_activeScripts","since":null,"effect":null,"exec":null,"params":[],"returns":{"type":"Array with [spawn, execVM, exec, execFSM]","types":["Array"],"description":"spawn: Number - The number of scripts running with spawn - execVM: Number - The number of scripts running with execVM - exec: Number - The number of scripts running with exec - execFSM: Number - The number of scripts running with execFSM","text":"Array with [spawn, execVM, exec, execFSM]\n- spawn: Number - The number of scripts running with spawn\n- execVM: Number - The number of scripts running with execVM\n- exec: Number - The number of scripts running with exec\n- execFSM: Number - The number of scripts running with execFSM"},"form":"nullary","operator":null,"left":null,"right":null}],"examples":[{"text":"```sqf\nhint str diag_activeScripts; //[0,0,0,1]\n```","code":["hint str diag_activeScripts; //[0,0,0,1]"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["diag_log","diag_fps","diag fpsmin","diag frameno","diag_tickTime","diag_activeSQFScripts","diag_activeSQSScripts","diag_activeMissionFSMs"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Diagnostic","Introduced with Arma 3 version 1.64","Scripting Commands"]}