{"name":"do3DENAction","operator":null,"title":"do3DENAction","type":"command","url":"https://community.bistudio.com/wiki/do3DENAction","revid":378238,"updated":"2026-03-20T14:10:01Z","groups":["Eden Editor"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.56"}],"since":{"game":"arma3","name":"Arma 3","version":"1.56"},"arma3_since":"1.56","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Performs given Eden Editor action.\n\n> [!WARNING]\n> Prior to Arma 3 v2.12 it was possible to use this command outside of Eden Editor.\n>\n> For example `do3DENAction \"MissionSave\";` would wipe the mission.sqm without a way to restore it when executed accidentally during preview.","syntaxes":[{"syntax":"do3DENAction action","since":null,"effect":null,"exec":null,"params":[{"name":"action","type":"String","optional":false,"default":null,"description":"see Eden Editor: Actions","types":["String"],"since":null,"text":"action: String - see Eden Editor: Actions"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"action","types":["String"]}},{"syntax":"do3DENAction [action, argument]","since":"arma3 2.22","effect":null,"exec":null,"params":[{"name":"action","type":"String","optional":false,"default":null,"description":"see Eden Editor: Actions","types":["String"],"since":null,"text":"action: String - see Eden Editor: Actions"},{"name":"argument","type":"Anything","optional":false,"default":null,"description":"depends on the used action","types":["Anything"],"since":null,"text":"argument: Anything - depends on the used action"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"[action, argument]","types":["Array"]}}],"examples":[{"text":"```sqf\ndo3DENAction \"MissionSave\";\n```","code":["do3DENAction \"MissionSave\";"]},{"text":"```sqf\n// Since 2.22\nprivate _par = createHashMap;\n_par set [\"name\", \"testfile\"];\n_par set [\"folder\", \"subfolder\"];\n_par set [\"content\", \"R3voing\"];\n\ndo3DENAction [\"CreateTextFile\", _par];\n```","code":["// Since 2.22\nprivate _par = createHashMap;\n_par set [\"name\", \"testfile\"];\n_par set [\"folder\", \"subfolder\"];\n_par set [\"content\", \"R3voing\"];\n\ndo3DENAction [\"CreateTextFile\", _par];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["get3DENActionState"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Eden Editor","Introduced with Arma 3 version 1.56","Scripting Commands"]}