Arma 3 Scripting

do3DENAction

  • Arma 3 v1.56

Command · Markdown · JSON · original wiki page

Description

Performs given Eden Editor action.

Warning

Prior to Arma 3 v2.12 it was possible to use this command outside of Eden Editor.

For example do3DENAction "MissionSave"; would wipe the mission.sqm without a way to restore it when executed accidentally during preview.

Syntax

Syntax 1

do3DENAction action

Parameters:

Returns: Nothing

Syntax 2

since arma3 2.22

do3DENAction [action, argument]

Parameters:

Returns: Nothing

Examples

Example 1

do3DENAction "MissionSave";

Example 2

// Since 2.22
private _par = createHashMap;
_par set ["name", "testfile"];
_par set ["folder", "subfolder"];
_par set ["content", "R3voing"];

do3DENAction ["CreateTextFile", _par];

See also

get3DENActionState