Difference between revisions of "diag captureFrame"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
(One intermediate revision by the same user not shown)
Line 22: Line 22:
|r1= [[Nothing]]
|r1= [[Nothing]]
|x1= <code>diag_captureFrame 1; {{cc|capture the first frame after command execution}}</code>
|x1= <sqf>diag_captureFrame 1; // capture the first frame after command execution</sqf>
|x2= <code>diag_captureFrame 24; {{cc|capture 24th frame after command execution}}</code>
|x2= <sqf>diag_captureFrame 24; // capture 24th frame after command execution</sqf>
|seealso= [[Arma 3: Diagnostics Exe]] [[Performance Profiling]] [[diag_captureSlowFrame]] [[diag_logSlowFrame]] [[logEntities]] [[exportJIPMessages]] [[diag_captureFrameToFile]]
|seealso= [[Arma 3: Diagnostics Exe]] [[Performance Profiling]] [[diag_captureSlowFrame]] [[diag_logSlowFrame]] [[logEntities]] [[exportJIPMessages]] [[diag_captureFrameToFile]]

Latest revision as of 11:22, 13 May 2022

Hover & click on the images for description
Only available in Diagnostic/Profiling branch(es).


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.
BattlEye's RCON variant of this command is #captureFrame
DiagnosticPerformance Profiling


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


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:
Arma 3: Diagnostics Exe Performance Profiling diag_captureSlowFrame diag_logSlowFrame logEntities exportJIPMessages diag_captureFrameToFile


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