BIS fnc diagAARrecord: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.00|Game version=
|1.00


|gr1= Diagnostic |GROUP1=
|gr1= Diagnostic


| Starts recording units position and events for an '''AAR''' (After Action Review).<br>
| Starts recording units position and events for an '''AAR''' (After Action Review).<br>
Line 18: Line 18:
diagAARdelay = 3; // delay between recording steps
diagAARdelay = 3; // delay between recording steps
</syntaxhighlight>
</syntaxhighlight>
The function data can be accessed with {{Inline code|[[profileNamespace]] [[getVariable]] "BIS_fnc_diagAAR_data"}}. |DESCRIPTION=
The function data can be accessed with {{Inline code|[[profileNamespace]] [[getVariable]] "BIS_fnc_diagAAR_data"}}.


| call [[BIS_fnc_diagAARrecord]] |SYNTAX=
| call [[BIS_fnc_diagAARrecord]]


| [[Number]] - the FSM handle (see [[execFSM]]) |RETURNVALUE=
| [[Number]] - the FSM handle (see [[execFSM]])


|x1= <code>[[call]] [[BIS_fnc_diagAARrecord]];</code> |EXAMPLE1=
|x1= <code>[[call]] [[BIS_fnc_diagAARrecord]];</code>


| [[BIS_fnc_diagAAR]] |SEEALSO=
| [[BIS_fnc_diagAAR]]
}}
}}



Revision as of 00:00, 18 January 2021

Hover & click on the images for description

Description

Description:
Starts recording units position and events for an AAR (After Action Review).
The following keys must be added to Description.ext for AAR to work properly:
diagAAR = 1;		// to enable diag AAR
diagAARauthor = 1;	// if description.ext/dev == profileName, allows the creator to debug himself
diagAARunits = 2;	// which units to record:
						// 1 = units player
						// 2 = allunits + alldead
						// any other value = player
diagAARdelay = 3;	// delay between recording steps
The function data can be accessed with profileNamespace getVariable "BIS_fnc_diagAAR_data".
Execution:
call
Groups:
Diagnostic

Syntax

Syntax:
call BIS_fnc_diagAARrecord
Return Value:
Number - the FSM handle (see execFSM)

Examples

Example 1:
call BIS_fnc_diagAARrecord;

Additional Information

See also:
BIS_fnc_diagAAR

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note


Bottom Section