do3DENAction: Difference between revisions

From Bohemia Interactive Community
m (Some wiki formatting)
(added 2.22 changes)
 
Line 17: Line 17:


|r1= [[Nothing]]
|r1= [[Nothing]]
|s2since= arma3 2.22
|s2= [[do3DENAction]] [action, argument]
|p21= action: [[String]] - see [[Eden Editor: Actions]]
|p22= argument: [[Anything]] - depends on the used [[Eden Editor: Actions|action]]
|r2= [[Nothing]]


|x1= <sqf>do3DENAction "MissionSave";</sqf>
|x1= <sqf>do3DENAction "MissionSave";</sqf>
|x2= <sqf>
// Since 2.22
private _par = createHashMap;
_par set ["name", "testfile"];
_par set ["folder", "subfolder"];
_par set ["content", "R3voing"];
do3DENAction ["CreateTextFile", _par];
</sqf>


|seealso= [[get3DENActionState]]
|seealso= [[get3DENActionState]]
}}
}}

Latest revision as of 16:10, 20 March 2026

Hover & click on the images for description

Description

Description:
Performs given Eden Editor action.
Prior to Arma 3 logo black.png 2.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.
Groups:
Eden Editor

Syntax

Syntax:
do3DENAction action
Parameters:
action: String - see Eden Editor: Actions
Return Value:
Nothing

Alternative Syntax

Syntax:
do3DENAction [action, argument]
Parameters:
action: String - see Eden Editor: Actions
argument: Anything - depends on the used action
Return Value:
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];

Additional Information

See also:
get3DENActionState

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note