screenshot

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.60
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.60

Description

Description:
Captures a screenshot and stores it to given filename. PNG is the only available format and the file must have .png extension.

The file is saved into Screenshots folder in the Profile directory. The folder is by default limited to 250 MB to prevent abuse.
To increase the limit, add the following line at the end of the profile file: maxScreenShotFolderSizeMB = 2000; 2000 can be replaced by any value in MB.

Syntax

Syntax:
screenshot filename
Parameters:
filename: String - desired path and name relative <USERDIR>\Screenshot\. If empty string "" used, the filename will be autogenerated in format: YYYY_MM_DD_hh_mm_ss.png
Return Value:
Nothing

Examples

Example 1:
screenshot "";
Example 2:
screenshot "testFile.png";
Example 3:
The following code will result in the screenshot being placed in \Documents\Arma 3\Screenshots\any\where\you\want.png screenshot "any\where\you\want.png";

Additional Information

Multiplayer:
-
See also:
BIS_fnc_exportEditorPreviewConfiguring Asset Previews

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Bottom Section

Notes

Bottom Section

Posted on July 18, 2016 - 18:31 (UTC)
IT07
This command only captures the rendered picture (including ppEffects). GUI nor the mouse are visible on the screenshot. (ArmA 3 1.62.137494)