diag captureFrame: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {2,}\}\}" to " }}")
m (Text replacement - " <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to " ")
Line 27: Line 27:
}}
}}


<dl class="command_description">
 
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>





Revision as of 22:43, 22 January 2021


Hover & click on the images for description

Description

Description:
This command starts counting frames from the moment it is executed and when the count reaches the number passed as param, the current frame is captured and captured data UI dialog appears, similar to diag_captureSlowFrame.
This can also be executed on a dedicated Server and because a Server has no UI it will behave like diag_captureFrameToFile.
Special: BattlEye's RCON variant of this command is #captureFrame
Note: Only available in specific builds. See Performance Profiling for details.
Groups:
DiagnosisPerformance Logging

Syntax

Syntax:
diag_captureFrame frame
Parameters:
frame: Number - next n-th frame to be captured
Return Value:
Nothing

Examples

Example 1:
diag_captureFrame 1; //capture the first frame after command execution
Example 2:
diag_captureFrame 24; //capture 24th frame after command execution

Additional Information

See also:
Performance Profilingdiag_captureSlowFramediag_logSlowFramelogEntitiesexportJIPMessagesdiag_captureFrameToFile

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