{"name":"BIS_fnc_diagAARrecord","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","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Starts recording units position and events for an **AAR** (After Action Review).\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","params":[],"returns":{"type":"Number","type_expr":"Number","description":"the FSM handle (see execFSM)"}}],"examples":[{"code":["call BIS_fnc_diagAARrecord;"]}],"see_also":["BIS_fnc_diagAAR"]}