do3DENAction: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "{{Command " to "{{RV|type=command ")
(added 2.22 changes)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|arma3
|game1= arma3
|version1= 1.56


|1.56
|gr1= Eden Editor
 
|descr= Performs given [[Eden Editor: Actions|Eden Editor action]].
{{Feature|warning|
Prior to {{GVI|arma3|2.12|size= 0.75}} it was possible to use this command outside of [[:Category:Eden Editor|Eden Editor]].<br>
For example <sqf inline>do3DENAction "MissionSave";</sqf> would wipe the [[mission.sqm]] without a way to restore it when executed accidentally during preview.
}}
 
|s1= [[do3DENAction]] action
 
|p1= action: [[String]] - see [[Eden Editor: Actions]]


|gr1= Eden Editor
|r1= [[Nothing]]


| Performs given [[Eden Editor]] action.
|s2since= arma3 2.22
<br><br>
See the [[Eden_Editor:_Actions|list of all actions]].


| '''do3DENAction''' action
|s2= [[do3DENAction]] [action, argument]
|p1= action: [[String]]


| [[Nothing]]
|p21= action: [[String]] - see [[Eden Editor: Actions]]


|x1= <code>[[do3DENAction]] "MissionSave";// saves the scenario </code>
|p22= argument: [[Anything]] - depends on the used [[Eden Editor: Actions|action]]


|  
|r2= [[Nothing]]
[[get3DENActionState]]
}}


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


{{GameCategory|arma3|New Scripting Commands}}
|seealso= [[get3DENActionState]]
{{GameCategory|arma3|Scripting Commands}}
}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

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