{"name":"BIS_fnc_diagAARrecord","operator":null,"title":"BIS fnc diagAARrecord","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_diagAARrecord","revid":329377,"updated":"2022-07-27T13:08:54Z","groups":["Diagnostic"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Starts recording units position and events for an **AAR** (After Action Review).\n\nThe following keys must be added to Description.ext for AAR to work properly:\n\n```cpp\ndiagAAR = 1;        // to enable diag AAR\ndiagAARauthor = 1;    // if description.ext/dev == profileName, allows the creator to debug himself\ndiagAARunits = 2;    // which units to record:\n                        // 1 = units player\n                        // 2 = allunits + alldead\n                        // any other value = player\ndiagAARdelay = 3;    // delay between recording steps\n```\n\nThe data can be accessed with `profileNamespace getVariable \"BIS_fnc_diagAAR_data\"`.","syntaxes":[{"syntax":"call BIS_fnc_diagAARrecord","since":null,"effect":null,"exec":null,"params":[],"returns":{"type":"Number","types":["Number"],"description":"the FSM handle (see execFSM)","text":"Number - the FSM handle (see execFSM)"}}],"examples":[{"text":"```sqf\ncall BIS_fnc_diagAARrecord;\n```","code":["call BIS_fnc_diagAARrecord;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_diagAAR"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Diagnostic","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}