BIS fnc diagAARrecord: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Function " to "{{RV|type=function ")
m (Some wiki formatting)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.00
|1.00


|gr1= Diagnostic
|gr1= Diagnostic


| Starts recording units position and events for an '''AAR''' (After Action Review).<br>
|descr= Starts recording units position and events for an '''AAR''' (After Action Review).<br>
The following keys must be added to [[Description.ext]] for AAR to work properly:
The following keys must be added to [[Description.ext]] for AAR to work properly:
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
Line 18: Line 17:
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"}}.
The data can be accessed with <sqf inline>profileNamespace getVariable "BIS_fnc_diagAAR_data"</sqf>.


| call [[BIS_fnc_diagAARrecord]]
|s1= call [[BIS_fnc_diagAARrecord]]


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


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


| [[BIS_fnc_diagAAR]]
|seealso= [[BIS_fnc_diagAAR]]
}}
}}
[[Category:Functions|{{uc:diagAARrecord}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:diagAARrecord}}]]

Latest revision as of 14:08, 27 July 2022

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 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