{"name":"diag_dynamicSimulationEnd","title":"diag dynamicSimulationEnd","type":"command","url":"https://community.bistudio.com/wiki/diag_dynamicSimulationEnd","revid":347048,"updated":"2023-08-28T22:05:05Z","groups":["Diagnostic","Dynamic Simulation"],"status":"ok","games":{"arma3":"1.68"},"since":"arma3 1.68","arma3_since":"1.68","branch":["diag"],"locality":{"effect":"local"},"description":"Ends dynamic simulation data gathering and writes collected data into given (txt) file. The file is saved in the Arma 3 installation folder.\n\n```cpp\n// Example output\nEnabled time (in % of collection time)       Subject name\n  1.$                                          O Bravo 1-5\n  1.$                                          O Bravo 1-6\n  1.$                                          extraction_bike (B_Quadbike_01_F) - [3151,9662,59]\n  .....                                          ..................................\n  -1.$                                         O Bravo 1-4\n  -1.$                                         target_1 (O_SAM_System_04_F) - [3571,9878,70]\n  -1.$                                         O Alpha 3-4\nCollection took 0.0s\n```","syntaxes":[{"syntax":"diag_dynamicSimulationEnd file","params":[{"name":"file","type":"String","description":"file name without extension","type_expr":"String"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"file"}}],"examples":[{"code":["diag_dynamicSimulationEnd \"dynSimDebugData\"; // creates a file called \"dynSimDebugData_runtimelog.txt\""]}],"see_also":["Arma 3: Dynamic Simulation","diag_dynamicSimulationStart"]}