Arma 3 Scripting

BIS_fnc_exportEditorPreviews

  • Runs with spawn
  • Arma 3 v1.60

Function · Markdown · JSON · original wiki page

Description

Export screenshots of objects for Eden Editor and Community Wiki to <Arma 3 Profile>\Screenshots\EditorPreviews directory. See Arma 3 assets.

Note

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; // size in MB

Syntax

[duration, type, sides, mods, addons, classes] spawn BIS_fnc_exportEditorPreviews

Parameters:

Returns: Nothing

Examples

Example 1

// All objects
[] spawn BIS_fnc_exportEditorPreviews;

Example 2

// All characters and vehicles. Capturing delay will be 0.5 seconds
[0.5, "vehicles"] spawn BIS_fnc_exportEditorPreviews;

Example 3

// BLUFOR characters and vehicles
[nil, "vehicles", [west]] spawn BIS_fnc_exportEditorPreviews;

Example 4

// Props in Karts DLC
[nil, "props", [], ["kart"]] spawn BIS_fnc_exportEditorPreviews;

Example 5

// All objects in specified addons
[nil, "all", [], [], ["A3_Armor_F_Slammer", "A3_Air_F_Heli_Heli_Transport_03"]] spawn BIS_fnc_exportEditorPreviews;

Example 6

// BLUFOR characters and vehicles in Marksmen DLC
[nil, "vehicles", [west], ["mark"]] spawn BIS_fnc_exportEditorPreviews;

Example 7

// Only the B_Soldier_F
[nil, "all", [], [], [], ["B_Soldier_F"]] spawn BIS_fnc_exportEditorPreviews;

Example 8

// Props in CBA
[nil, "props", [], ["@cba_a3"]] spawn BIS_fnc_exportEditorPreviews;

See also

screenshot · Eden Editor: Configuring Asset Previews