Arma 3 Scripting

Command in System

screenshot

Also available as Markdown and JSON, or read the original wiki page.

Description

Post-Process Effect Active in
screenshot
ColorInversion ✗
FilmGrain ✗
ColorCorrections ✗
DynamicBlur ✓
WetDistortion ✓
ChromaticAberration ✓
RadialBlur ✓
SSAO
Resolution ✓

Takes a screenshot of the 3D scene and saves it to the provided filename.

The file is saved in the 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; // 2 GB

Syntax

screenshot filename

Parameters:

Returns: Boolean - true if success

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";

See also

BIS_fnc_exportEditorPreviews · Eden Editor: Configuring Asset Previews

Community notes

Komachi

The command will silently fail if your profiles folder is configured to be somewhere else (-profiles parameter), or if your HDR setting is below 16 (configurable in arma3.cfg or medium and above in in-game settings)

For full reference on recommended settings consult Eden Editor: Configuring Asset Previews.