diag captureFrame: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")
m (command group: Diagnosis)
Line 6: Line 6:


|1.63|Game version=
|1.63|Game version=
|gr1= Diagnosis |GROUP1=
|gr2= Performance Logging|GROUP2=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 40: Line 44:
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Performance_Logging|{{uc:{{PAGENAME}}}}]]

Revision as of 11:46, 9 September 2020


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

Notes

Bottom Section