Arma 3 Scripting

BIS_fnc_diagAAR

  • Arma 3 v1.00

Function · Markdown · JSON · original wiki page

Description

Opens an AAR (After Action Review) display and fills it with data and Event Handlers. The display replays recordings made by BIS_fnc_diagAARrecord (recording is enabled by diagAAR = 1; in the mission's Description.ext), which are stored in profileNamespace in the variable "BIS_fnc_diagAAR_data".

Important

BIS_fnc_diagAARrecord must have been previously executed to have data to display. If there are no recordings for the current world, the display is closed and an error message is shown.

The display lists the recorded missions of the current world and their recordings:

Keys:

All modes except "Init" are used internally by the Event Handlers that "Init" adds to the display.

Syntax

Syntax 1

[] call BIS_fnc_diagAAR

Returns: Boolean - true if the AAR display ("RscDisplayAAR") was created, as returned by createDialog

Syntax 2

[mode, arguments] call BIS_fnc_diagAAR

Parameters:

Returns: Boolean for "Display_keydown" (true for Esc and Space, which overrides the default action of these keys), Nothing for the other modes

Examples

Example 1

[] call BIS_fnc_diagAAR; // opens the AAR display

Example 2

["Init", [_anAARDisplay]] call BIS_fnc_diagAAR;

See also

BIS_fnc_diagAARrecord