BIS fnc diagAARrecord: Difference between revisions

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


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= Diagnostic


|gr1= Diagnostic |GROUP1=
|descr= 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>
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"}}. |DESCRIPTION=
The data can be accessed with <sqf inline>profileNamespace getVariable "BIS_fnc_diagAAR_data"</sqf>.


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


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


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


| [[BIS_fnc_diagAAR]] |SEEALSO=
|seealso= [[BIS_fnc_diagAAR]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[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