{"name":"Eden Editor: Actions","title":"Eden Editor: Actions","type":"topic","url":"https://community.bistudio.com/wiki/Eden_Editor:_Actions","revid":378784,"updated":"2026-06-05T10:55:06Z","aliases":[],"markdown":"Actions are engine operations used by Menu Bar and are available for scripting.\n\nPerform an action:\n\n```sqf\ndo3DENAction \"actionName\"\n```\n\nGet action state, can be 0 or 1. Available only for selected actions (see the **State** column below); when an action doesn't have any state, -1 is returned.\n\n```sqf\nget3DENActionState \"actionName\"\n```\n\nSince Arma 3 v2.22 some actions can also have an argument. See syntax 2 of do3DENAction.\n\n| Action | Description | State | Argument |\n|---|---|---|---|\n| **AddCustomConnection** | No implemented. Can only happen through context menu. | ✗ |  |\n| **AddRandomStart** | Initializes the *Set Random Start* action. Same as if selecting the option in the context menu. At least one marker must be selected. | ✗ |  |\n| **AddUnitToSel** | Add entity under cursor to selection, the same as when you press <kbd>Ctrl</kbd> + Left Mouse Button on an entity |  |  |\n| **AddWaypoint** | Add quick waypoint to currently selected entities / groups. The same as when you press <kbd>⇧ Shift</kbd> + Right Mouse Button. |  |  |\n| **CenterCameraOnPlayer** | Move camera to player's position. |  |  |\n| **ChangeSeat** | No implemented. Can only happen through context menu. | ✗ |  |\n| **ClearSelections** | Cancel the current selection. |  |  |\n| **CopyUnit** | Copy all selected entities. The same as when you press <kbd>Ctrl</kbd> + <kbd>C</kbd>. |  |  |\n| **CreateAndChangeComment** | Create a comment under cursor and open its attributes window. |  |  |\n| **CreateComment** | Create a comment under cursor. |  |  |\n| **CreateCustomComposition** | Create a composition from selected objects. |  |  |\n| **CreateTextFile (Arma 3 v2.22)** | Creates a text file in the scenario folder. | ✗ | HashMap with the following keys:<br>- name: String - name of the file. Maximum length 64 characters. Can only contain `A-z0-9_-` characters. Name is force-prefixed with `generated_`<br>- folder: String - (optional, default \"\") - name of the subfolder. Only one level is supported. Maximum allowed characters 16. Can only contain `A-z0-9_-` characters<br>- content: String - content of the file<br>```sqf<br>private _par = createHashMap;<br>_par set [\"name\", \"testfile\"];<br>_par set [\"folder\", \"subfolder\"];<br>_par set [\"content\", \"R3voing\"];<br>do3DENAction [\"CreateTextFile\", _par];<br>``` |\n| **CutUnit** | Cut all selected entities. The same as when you press <kbd>Ctrl</kbd> + <kbd>X</kbd>. |  |  |\n| **DeleteCustomComposition** | Delete a composition. |  |  |\n| **DeleteUnits** | Delete all selected entities. The same as when you press <kbd>Del</kbd>. |  |  |\n| **EditCustomComposition** | Edit a composition. |  |  |\n| **Exit3DEN** | Exit the Eden Editor, with a prompt asking for confirmation being displayed first. The same as when you press <kbd>Esc</kbd>. |  |  |\n| **FolderMission** | Opens the scenario folder if it exists. |  |  |\n| **ForceToFormation** | Move all selected group members to their default formation positions. |  |  |\n| **GroupWith** | Initializes the *Group With* action. Same as if selecting the option in the context menu. At least one group must be selected. | ✗ |  |\n| **LevelOutObjects** | Orient all selected entities to sea normal. |  |  |\n| **LevelWithSurface** | Orient all selected entities to terrain normal. |  |  |\n| **MissionExportMP** | Export the scenario to multiplayer scenarios. |  |  |\n| **MissionExportSP** | Export the scenario to scenario scenarios. |  |  |\n| **MissionLoad** | Show \"Open Scenario\" window. |  |  |\n| **MissionMerge** | Opens the merge UI. | ✗ |  |\n| **MissionNew** | Show \"New Scenario\" window. |  |  |\n| **MissionPartIntro** | Select *Intro* phase. | ✓ |  |\n| **MissionPartMission** | Select *Scenario* phase. | ✓ |  |\n| **MissionPartOutroLoose** | Select *Outro - Lose* phase. | ✓ |  |\n| **MissionPartOutroWin** | Select *Outro - Win* phase. | ✓ |  |\n| **MissionPreview** | Preview the scenario in singleplayer. |  |  |\n| **MissionPreviewBriefing** | Preview the scenario in singleplayer with briefing. |  |  |\n| **MissionPreviewMP** | Preview the scenario in multiplayer. |  |  |\n| **MissionSave** | Save the scenario. If it has not been saved yet, open \"Save Scenario\" window. |  |  |\n| **MissionSaveAs** | Open \"Save Scenario\" window. |  |  |\n| **MoveGridDecrease** | Decreases the move grid by 0.25 m. If this grid doesn't exist a new entry is added to the drop down menu in the toolbar (3.75 m (Custom)).<br>Also triggers `OnMoveGridDecrease` event. | ✗ |  |\n| **MoveGridIncrease** | Increases the move grid by 0.25 m. If this grid doesn't exist a new entry is added to the drop down menu in the toolbar (3.75 m (Custom)).<br>Also triggers `OnMoveGridIncrease` event. | ✗ |  |\n| **MoveGridToggle** | Toggle translation grid. | ✓ |  |\n| **OpenAttributes** | Open attributes of selected entities. |  |  |\n| **OpenIntelDisplay** | Opens the Edit: Environment UI. | ✗ |  |\n| **OpenRequiredAddons** | Opens the required addons UI. | ✗ |  |\n| **OpenSteamPublishDialog** | Open Steam Publish Options window. |  |  |\n| **OptionsAudio** | Open Audio Options window. |  |  |\n| **OptionsControls** | Open Controls Options window. |  |  |\n| **OptionsGame** | Open Game Options window. |  |  |\n| **OptionsVideo** | Open Video Options window. |  |  |\n| **PasteUnit** | Paste copied entities. The same as when you press <kbd>Ctrl</kbd> + <kbd>V</kbd>. |  |  |\n| **PasteUnitOrig** | Paste copied entities on their original positions. The same as when you press <kbd>Ctrl</kbd> + <kbd>⇧ Shift</kbd> + <kbd>V</kbd>.<br>> [!IMPORTANT]<br>> Keep in mind that *Surface Snapping* and the selected *Vertical Mode* will influence the positioning when pasting! |  |  |\n| **PublishCustomComposition** | Opens the Workshop Composition Management UI. At least one custom composition has to be selected in the asset browser (right panel). | ✗ |  |\n| **Redo** | Redo the undone operation. |  |  |\n| **RestoreEditTreeExpansion** | Restores previous state of the nodes in the entity browser (left panel). | ✗ |  |\n| **RotateGridDecrease** | Decreases the rotation grid by 5°. If this grid doesn't exist a new entry is added to the drop down menu in the toolbar (15 ° (Custom)).<br>Also triggers `OnRotateGridDecrease` event. | ✗ |  |\n| **RotateGridIncrease** | Decreases the rotation grid by 5°. If this grid doesn't exist a new entry is added to the drop down menu in the toolbar (15 ° (Custom)).<br>Also triggers `OnRotateGridIncrease` event. | ✗ |  |\n| **RotateGridToggle** | Toggle rotation grid. | ✓ |  |\n| **ScaleGridToggle** | Toggle area scaling grid. | ✓ |  |\n| **SearchCreate** | Switch focus to asset browser search field. |  |  |\n| **SearchEdit** | Switch focus to entity list search field. |  |  |\n| **SelectAllOnScreen** | Select all entities currently visible on the screen. |  |  |\n| **SelectGroupMode** | Select the *Compositions* mode. The same as when you press <kbd>F2</kbd>. | ✓ |  |\n| **SelectLayerAllDescendants** | Select all entities in selected layers and all sub-layers. |  |  |\n| **SelectLayerChildren** | Select all entities directly in selected layers. |  |  |\n| **SelectMarkerMode** | Select the *Markers* mode. The same as when you press <kbd>F6</kbd>. | ✓ |  |\n| **SelectModuleMode** | Select the *Systems* mode. The same as when you press <kbd>F5</kbd>. | ✓ |  |\n| **SelectObjectMode** | Select the *Objects* mode. The same as when you press <kbd>F1</kbd>. | ✓ |  |\n| **SelectSubmode1** | Select the first sub-mode. Based on the selected mode; for example it is *BLUFOR* when *Objects* mode is selected. | ✓ |  |\n| **SelectSubmode2** | Select the second submode. Based on the selected mode; for example it is *OPFOR* when *Objects* mode is selected. | ✓ |  |\n| **SelectSubmode3** | Select the third sub-mode. Based on the selected mode; for example it is *Independent* when *Objects* mode is selected. | ✓ |  |\n| **SelectSubmode4** | Select the fourth sub-mode. Based on the selected mode; for example it is *Civilian* when *Objects* mode is selected. | ✓ |  |\n| **SelectSubmode5** | Select the fifth sub-mode. Based on the selected mode; for example it is *Props* when *Objects* mode is selected. | ✓ |  |\n| **SelectSubmode6** | Select the sixth sub-mode. Based on the selected mode; for example it is *Custom* when *Compositions* mode is selected. | ✓ |  |\n| **SelectTriggerMode** | Select the *Triggers* mode. The same as when you press <kbd>F3</kbd>. | ✓ |  |\n| **SelectUnit** | Select the entity under cursor. |  |  |\n| **SelectWaypointMode** | Select the *Waypoints* mode. The same as when you press <kbd>F4</kbd>. | ✓ |  |\n| **SetFlyingHeight** | Move selected entities to default flying height. Only available for flying objects, i.e., planes and helicopters. |  |  |\n| **SetTriggerOwner** | Initializes the *Set Trigger Owner* action. Same as if selecting the option in the context menu. At least one trigger must be selected. | ✗ |  |\n| **SetWaypointActivation** | Initializes the *Set Waypoint Activation* action. Same as if selecting the option in the context menu. At least one waypoint must be selected. | ✗ |  |\n| **SnapToSurface** | Snap selected entities to the ground. |  |  |\n| **SubmodeToggle** | Toggle sub-mode (browse through all available ones). |  |  |\n| **SurfaceSnapDisable** | Toggle surface snap off. |  |  |\n| **SurfaceSnapEnable** | Toggle surface snap on. |  |  |\n| **SurfaceSnapToggle** | Toggle surface snap on/off. | ✓ |  |\n| **SyncWith** | Initializes the *Synch With* action. Same as if selecting the option in the context menu. At least syncable entity must be selected. | ✗ |  |\n| **ToggleMap** | Toggle map on/off. | ✓ |  |\n| **ToggleMapIDs** | Toggle map IDs on/off. | ✓ |  |\n| **ToggleMapTextures** | Toggle map textures on/off. | ✓ |  |\n| **TogglePlaceEmptyVehicle** | Toggle place empty vehicles on/off. | ✓ |  |\n| **ToggleUnitSel** | Toggle entity selection on/off. |  |  |\n| **ToggleVegetion** | Toggles vegetation on/off. |  |  |\n| **Undo** | Undo the last operation. |  |  |\n| **Unknown** | Engine placeholder. Not implemented. | ✗ |  |\n| **VerticalASL** | Set vertical mode to ASL (Above Sea Level). | ✓ |  |\n| **VerticalATL** | Set vertical mode to ATL (Above Terrain Level). | ✓ |  |\n| **VerticalToggle** | Toggle vertical mode. | ✓ |  |\n| **WidgetArea** | Toggle area widget on. | ✓ |  |\n| **WidgetCoord** | Toggle widget coordinate space between global and local. | ✓ |  |\n| **WidgetNone** | Toggle widget off. | ✓ |  |\n| **WidgetRotation** | Toggle rotation widget on. | ✓ |  |\n| **WidgetScale** | Toggle scaling widget on. | ✓ |  |\n| **WidgetSpaceLocal** | Set widget coordinate space to local. |  |  |\n| **WidgetSpaceWorld** | Set widget coordinate space to global. |  |  |\n| **WidgetToggle** | Toggle widget (browse through all available widget types). |  |  |\n| **WidgetTranslation** | Toggle translation widget on. | ✓ |  |","sections":[{"heading":null,"level":1,"markdown":"Actions are engine operations used by Menu Bar and are available for scripting.\n\nPerform an action:\n\n```sqf\ndo3DENAction \"actionName\"\n```\n\nGet action state, can be 0 or 1. Available only for selected actions (see the **State** column below); when an action doesn't have any state, -1 is returned.\n\n```sqf\nget3DENActionState \"actionName\"\n```\n\nSince Arma 3 v2.22 some actions can also have an argument. See syntax 2 of do3DENAction.\n\n| Action | Description | State | Argument |\n|---|---|---|---|\n| **AddCustomConnection** | No implemented. Can only happen through context menu. | ✗ |  |\n| **AddRandomStart** | Initializes the *Set Random Start* action. Same as if selecting the option in the context menu. At least one marker must be selected. | ✗ |  |\n| **AddUnitToSel** | Add entity under cursor to selection, the same as when you press <kbd>Ctrl</kbd> + Left Mouse Button on an entity |  |  |\n| **AddWaypoint** | Add quick waypoint to currently selected entities / groups. The same as when you press <kbd>⇧ Shift</kbd> + Right Mouse Button. |  |  |\n| **CenterCameraOnPlayer** | Move camera to player's position. |  |  |\n| **ChangeSeat** | No implemented. Can only happen through context menu. | ✗ |  |\n| **ClearSelections** | Cancel the current selection. |  |  |\n| **CopyUnit** | Copy all selected entities. The same as when you press <kbd>Ctrl</kbd> + <kbd>C</kbd>. |  |  |\n| **CreateAndChangeComment** | Create a comment under cursor and open its attributes window. |  |  |\n| **CreateComment** | Create a comment under cursor. |  |  |\n| **CreateCustomComposition** | Create a composition from selected objects. |  |  |\n| **CreateTextFile (Arma 3 v2.22)** | Creates a text file in the scenario folder. | ✗ | HashMap with the following keys:<br>- name: String - name of the file. Maximum length 64 characters. Can only contain `A-z0-9_-` characters. Name is force-prefixed with `generated_`<br>- folder: String - (optional, default \"\") - name of the subfolder. Only one level is supported. Maximum allowed characters 16. Can only contain `A-z0-9_-` characters<br>- content: String - content of the file<br>```sqf<br>private _par = createHashMap;<br>_par set [\"name\", \"testfile\"];<br>_par set [\"folder\", \"subfolder\"];<br>_par set [\"content\", \"R3voing\"];<br>do3DENAction [\"CreateTextFile\", _par];<br>``` |\n| **CutUnit** | Cut all selected entities. The same as when you press <kbd>Ctrl</kbd> + <kbd>X</kbd>. |  |  |\n| **DeleteCustomComposition** | Delete a composition. |  |  |\n| **DeleteUnits** | Delete all selected entities. The same as when you press <kbd>Del</kbd>. |  |  |\n| **EditCustomComposition** | Edit a composition. |  |  |\n| **Exit3DEN** | Exit the Eden Editor, with a prompt asking for confirmation being displayed first. The same as when you press <kbd>Esc</kbd>. |  |  |\n| **FolderMission** | Opens the scenario folder if it exists. |  |  |\n| **ForceToFormation** | Move all selected group members to their default formation positions. |  |  |\n| **GroupWith** | Initializes the *Group With* action. Same as if selecting the option in the context menu. At least one group must be selected. | ✗ |  |\n| **LevelOutObjects** | Orient all selected entities to sea normal. |  |  |\n| **LevelWithSurface** | Orient all selected entities to terrain normal. |  |  |\n| **MissionExportMP** | Export the scenario to multiplayer scenarios. |  |  |\n| **MissionExportSP** | Export the scenario to scenario scenarios. |  |  |\n| **MissionLoad** | Show \"Open Scenario\" window. |  |  |\n| **MissionMerge** | Opens the merge UI. | ✗ |  |\n| **MissionNew** | Show \"New Scenario\" window. |  |  |\n| **MissionPartIntro** | Select *Intro* phase. | ✓ |  |\n| **MissionPartMission** | Select *Scenario* phase. | ✓ |  |\n| **MissionPartOutroLoose** | Select *Outro - Lose* phase. | ✓ |  |\n| **MissionPartOutroWin** | Select *Outro - Win* phase. | ✓ |  |\n| **MissionPreview** | Preview the scenario in singleplayer. |  |  |\n| **MissionPreviewBriefing** | Preview the scenario in singleplayer with briefing. |  |  |\n| **MissionPreviewMP** | Preview the scenario in multiplayer. |  |  |\n| **MissionSave** | Save the scenario. If it has not been saved yet, open \"Save Scenario\" window. |  |  |\n| **MissionSaveAs** | Open \"Save Scenario\" window. |  |  |\n| **MoveGridDecrease** | Decreases the move grid by 0.25 m. If this grid doesn't exist a new entry is added to the drop down menu in the toolbar (3.75 m (Custom)).<br>Also triggers `OnMoveGridDecrease` event. | ✗ |  |\n| **MoveGridIncrease** | Increases the move grid by 0.25 m. If this grid doesn't exist a new entry is added to the drop down menu in the toolbar (3.75 m (Custom)).<br>Also triggers `OnMoveGridIncrease` event. | ✗ |  |\n| **MoveGridToggle** | Toggle translation grid. | ✓ |  |\n| **OpenAttributes** | Open attributes of selected entities. |  |  |\n| **OpenIntelDisplay** | Opens the Edit: Environment UI. | ✗ |  |\n| **OpenRequiredAddons** | Opens the required addons UI. | ✗ |  |\n| **OpenSteamPublishDialog** | Open Steam Publish Options window. |  |  |\n| **OptionsAudio** | Open Audio Options window. |  |  |\n| **OptionsControls** | Open Controls Options window. |  |  |\n| **OptionsGame** | Open Game Options window. |  |  |\n| **OptionsVideo** | Open Video Options window. |  |  |\n| **PasteUnit** | Paste copied entities. The same as when you press <kbd>Ctrl</kbd> + <kbd>V</kbd>. |  |  |\n| **PasteUnitOrig** | Paste copied entities on their original positions. The same as when you press <kbd>Ctrl</kbd> + <kbd>⇧ Shift</kbd> + <kbd>V</kbd>.<br>> [!IMPORTANT]<br>> Keep in mind that *Surface Snapping* and the selected *Vertical Mode* will influence the positioning when pasting! |  |  |\n| **PublishCustomComposition** | Opens the Workshop Composition Management UI. At least one custom composition has to be selected in the asset browser (right panel). | ✗ |  |\n| **Redo** | Redo the undone operation. |  |  |\n| **RestoreEditTreeExpansion** | Restores previous state of the nodes in the entity browser (left panel). | ✗ |  |\n| **RotateGridDecrease** | Decreases the rotation grid by 5°. If this grid doesn't exist a new entry is added to the drop down menu in the toolbar (15 ° (Custom)).<br>Also triggers `OnRotateGridDecrease` event. | ✗ |  |\n| **RotateGridIncrease** | Decreases the rotation grid by 5°. If this grid doesn't exist a new entry is added to the drop down menu in the toolbar (15 ° (Custom)).<br>Also triggers `OnRotateGridIncrease` event. | ✗ |  |\n| **RotateGridToggle** | Toggle rotation grid. | ✓ |  |\n| **ScaleGridToggle** | Toggle area scaling grid. | ✓ |  |\n| **SearchCreate** | Switch focus to asset browser search field. |  |  |\n| **SearchEdit** | Switch focus to entity list search field. |  |  |\n| **SelectAllOnScreen** | Select all entities currently visible on the screen. |  |  |\n| **SelectGroupMode** | Select the *Compositions* mode. The same as when you press <kbd>F2</kbd>. | ✓ |  |\n| **SelectLayerAllDescendants** | Select all entities in selected layers and all sub-layers. |  |  |\n| **SelectLayerChildren** | Select all entities directly in selected layers. |  |  |\n| **SelectMarkerMode** | Select the *Markers* mode. The same as when you press <kbd>F6</kbd>. | ✓ |  |\n| **SelectModuleMode** | Select the *Systems* mode. The same as when you press <kbd>F5</kbd>. | ✓ |  |\n| **SelectObjectMode** | Select the *Objects* mode. The same as when you press <kbd>F1</kbd>. | ✓ |  |\n| **SelectSubmode1** | Select the first sub-mode. Based on the selected mode; for example it is *BLUFOR* when *Objects* mode is selected. | ✓ |  |\n| **SelectSubmode2** | Select the second submode. Based on the selected mode; for example it is *OPFOR* when *Objects* mode is selected. | ✓ |  |\n| **SelectSubmode3** | Select the third sub-mode. Based on the selected mode; for example it is *Independent* when *Objects* mode is selected. | ✓ |  |\n| **SelectSubmode4** | Select the fourth sub-mode. Based on the selected mode; for example it is *Civilian* when *Objects* mode is selected. | ✓ |  |\n| **SelectSubmode5** | Select the fifth sub-mode. Based on the selected mode; for example it is *Props* when *Objects* mode is selected. | ✓ |  |\n| **SelectSubmode6** | Select the sixth sub-mode. Based on the selected mode; for example it is *Custom* when *Compositions* mode is selected. | ✓ |  |\n| **SelectTriggerMode** | Select the *Triggers* mode. The same as when you press <kbd>F3</kbd>. | ✓ |  |\n| **SelectUnit** | Select the entity under cursor. |  |  |\n| **SelectWaypointMode** | Select the *Waypoints* mode. The same as when you press <kbd>F4</kbd>. | ✓ |  |\n| **SetFlyingHeight** | Move selected entities to default flying height. Only available for flying objects, i.e., planes and helicopters. |  |  |\n| **SetTriggerOwner** | Initializes the *Set Trigger Owner* action. Same as if selecting the option in the context menu. At least one trigger must be selected. | ✗ |  |\n| **SetWaypointActivation** | Initializes the *Set Waypoint Activation* action. Same as if selecting the option in the context menu. At least one waypoint must be selected. | ✗ |  |\n| **SnapToSurface** | Snap selected entities to the ground. |  |  |\n| **SubmodeToggle** | Toggle sub-mode (browse through all available ones). |  |  |\n| **SurfaceSnapDisable** | Toggle surface snap off. |  |  |\n| **SurfaceSnapEnable** | Toggle surface snap on. |  |  |\n| **SurfaceSnapToggle** | Toggle surface snap on/off. | ✓ |  |\n| **SyncWith** | Initializes the *Synch With* action. Same as if selecting the option in the context menu. At least syncable entity must be selected. | ✗ |  |\n| **ToggleMap** | Toggle map on/off. | ✓ |  |\n| **ToggleMapIDs** | Toggle map IDs on/off. | ✓ |  |\n| **ToggleMapTextures** | Toggle map textures on/off. | ✓ |  |\n| **TogglePlaceEmptyVehicle** | Toggle place empty vehicles on/off. | ✓ |  |\n| **ToggleUnitSel** | Toggle entity selection on/off. |  |  |\n| **ToggleVegetion** | Toggles vegetation on/off. |  |  |\n| **Undo** | Undo the last operation. |  |  |\n| **Unknown** | Engine placeholder. Not implemented. | ✗ |  |\n| **VerticalASL** | Set vertical mode to ASL (Above Sea Level). | ✓ |  |\n| **VerticalATL** | Set vertical mode to ATL (Above Terrain Level). | ✓ |  |\n| **VerticalToggle** | Toggle vertical mode. | ✓ |  |\n| **WidgetArea** | Toggle area widget on. | ✓ |  |\n| **WidgetCoord** | Toggle widget coordinate space between global and local. | ✓ |  |\n| **WidgetNone** | Toggle widget off. | ✓ |  |\n| **WidgetRotation** | Toggle rotation widget on. | ✓ |  |\n| **WidgetScale** | Toggle scaling widget on. | ✓ |  |\n| **WidgetSpaceLocal** | Set widget coordinate space to local. |  |  |\n| **WidgetSpaceWorld** | Set widget coordinate space to global. |  |  |\n| **WidgetToggle** | Toggle widget (browse through all available widget types). |  |  |\n| **WidgetTranslation** | Toggle translation widget on. | ✓ |  |"}],"categories":["Eden Editor: Modding"],"groups":["Mission Editing"]}