BIS fnc diagAARrecord: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| ''N/A'' |= Description
| 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:
<syntaxhighlight lang="cpp">
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
</syntaxhighlight>
The function data can be accessed with {{Inline code|[[profileNamespace]] [[getVariable]] "BIS_fnc_diagAAR_data"}}. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_diagAARrecord]]; --> |= Syntax
| call [[BIS_fnc_diagAARrecord]] |= Syntax


|p1= |= Parameter 1
| [[Number]] - the FSM handle (see [[execFSM]]) |= Return value
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>[[call]] [[BIS_fnc_diagAARrecord]];</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[BIS_fnc_diagAAR]] |= See also
 
}}
}}



Revision as of 16:27, 8 May 2018

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

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

Notes

Bottom Section