Eden Editor: Actions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (fixed SelectSubmode2)
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{TOC|side}}
__NOEDITSECTION__
__NOEDITSECTION__
Actions are engine operations used by [[Eden Editor: Menu Bar|Menu Bar]] and are available for scripting.
Actions are engine operations used by [[Eden Editor: Menu Bar|Menu Bar]] and are available for scripting.


Perform an action:
Perform an action:
[[do3DENAction]] "actionName"
<sqf>do3DENAction "actionName"</sqf>


Get 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.
Get 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.
[[get3DENActionState]] "actionName"
<sqf>get3DENActionState "actionName"</sqf>


== List ==
{| class="wikitable sortable align-center-col-3"
{{Horizontoc|include=2|also=nonumtoc}}
{| class="wikitable sortable"
! Action
! Action
! class="unsortable" | Description
! class="unsortable" | Description
! State
! State
|-
|-
| <!-- Title -->
|
==== AddUnitToSel ====
==== AddUnitToSel ====
| <!-- Description -->
|
Add entity under cursor to selection, the same as when you press Ctrl + LMB on an entity
Add entity under cursor to selection, the same as when you press {{Controls|Ctrl|LMB}} on an entity
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== AddWaypoint ====
==== AddWaypoint ====
| <!-- Description -->
|
Add quick waypoint to currently selected entities / groups. The same as when you press Shift + RMB.
Add quick waypoint to currently selected entities / groups. The same as when you press {{Controls|Shift|RMB}}.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== CenterCameraOnPlayer ====
==== CenterCameraOnPlayer ====
| <!-- Description -->
|
Move camera to player's position.
Move camera to player's position.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== ClearSelections ====
==== ClearSelections ====
| <!-- Description -->
|
Cancel the current selection.
Cancel the current selection.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== CopyUnit ====
==== CopyUnit ====
| <!-- Description -->
|
Copy all selected entities. The same as when you press Ctrl + C.
Copy all selected entities. The same as when you press {{Controls|Ctrl|C}}.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== CreateAndChangeComment ====
|
Create a [[Eden_Editor:_Comment|comment]] under cursor and open its attributes window.
|
|-
|
==== CreateComment ====
==== CreateComment ====
| <!-- Description -->
|
Create a [[Eden_Editor:_Comment|comment]] under cursor.
Create a [[Eden_Editor:_Comment|comment]] under cursor.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== CreateAndChangeComment ====
==== CreateCustomComposition ====
| <!-- Description -->
|
Create a [[Eden_Editor:_Comment|comment]] under cursor and open its attributes window.
Create a [[Eden Editor: Custom Composition|composition]] from selected objects.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== CutUnit ====
==== CutUnit ====
| <!-- Description -->
|
Cut all selected entities. The same as when you press Ctrl + X.
Cut all selected entities. The same as when you press {{Controls|Ctrl|X}}.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== DeleteCustomComposition ====
|
Delete a [[Eden Editor: Custom Composition|composition]].
|
|-
|
==== DeleteUnits ====
==== DeleteUnits ====
| <!-- Description -->
|
Delete all selected entities. The same as when you press Delete key.
Delete all selected entities. The same as when you press {{Controls|Delete}}.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== EditCustomComposition ====
|
Edit a [[Eden Editor: Custom Composition|composition]].
|
|-
|
==== Exit3DEN ====
==== Exit3DEN ====
| <!-- Description -->
|
Exit the Eden Editor, with a prompt asking for confirmation being displayed first. The same as when you press Escape key.
Exit the Eden Editor, with a prompt asking for confirmation being displayed first. The same as when you press {{Controls|Escape}}.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== ForceToFormation ====
==== ForceToFormation ====
| <!-- Description -->
|
Move all selected group members to their default formation positions.
Move all selected group members to their default formation positions.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== LevelOutObjects ====
==== LevelOutObjects ====
| <!-- Description -->
|
Orient all selected entities to sea normal.
Orient all selected entities to sea normal.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== LevelWithSurface ====
==== LevelWithSurface ====
| <!-- Description -->
|
Orient all selected entities to terrain normal.
Orient all selected entities to terrain normal.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== MissionExportMP ====
==== MissionExportMP ====
| <!-- Description -->
|
Export the scenario to multiplayer scenarios.
Export the scenario to multiplayer scenarios.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== MissionExportSP ====
==== MissionExportSP ====
| <!-- Description -->
|
Export the scenario to scenario scenarios.
Export the scenario to scenario scenarios.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== MissionLoad ====
==== MissionLoad ====
| <!-- Description -->
|
Show "Open Scenario" window.
Show "Open Scenario" window.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== MissionNew ====
==== MissionNew ====
| <!-- Description -->
|
Show "New Scenario" window.
Show "New Scenario" window.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== MissionPartIntro ====
==== MissionPartIntro ====
| <!-- Description -->
|
Select ''Intro'' [[Eden Editor: Scenario Phases|phase]].
Select ''Intro'' [[Eden Editor: Scenario Phases|phase]].
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== MissionPartMission ====
==== MissionPartMission ====
| <!-- Description -->
|
Select ''Scenario'' [[Eden Editor: Scenario Phases|phase]].
Select ''Scenario'' [[Eden Editor: Scenario Phases|phase]].
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== MissionPartOutroLoose ====
==== MissionPartOutroLoose ====
| <!-- Description -->
|
Select ''Outro - Lose'' [[Eden Editor: Scenario Phases|phase]].
Select ''Outro - Lose'' [[Eden Editor: Scenario Phases|phase]].
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== MissionPartOutroWin ====
==== MissionPartOutroWin ====
| <!-- Description -->
|
Select ''Outro - Win'' [[Eden Editor: Scenario Phases|phase]].
Select ''Outro - Win'' [[Eden Editor: Scenario Phases|phase]].
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== MissionPreview ====
==== MissionPreview ====
| <!-- Description -->
|
Preview the scenario in singleplayer.
Preview the scenario in singleplayer.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== MissionPreviewBriefing ====
==== MissionPreviewBriefing ====
| <!-- Description -->
|
Preview the scenario in singleplayer with briefing.
Preview the scenario in singleplayer with briefing.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== MissionPreviewMP ====
==== MissionPreviewMP ====
| <!-- Description -->
|
Preview the scenario in multiplayer.
Preview the scenario in multiplayer.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== MissionSave ====
==== MissionSave ====
| <!-- Description -->
|
Save the scenario. If it hasn't been saved yet, open "Save Scenario" window.
Save the scenario. If it has not been saved yet, open "Save Scenario" window.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== MissionSaveAs ====
==== MissionSaveAs ====
| <!-- Description -->
|
Open "Save Scenario" window.
Open "Save Scenario" window.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== MoveGridToggle ====
==== MoveGridToggle ====
| <!-- Description -->
|
Toggle translation grid.
Toggle translation grid.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== OpenAttributes ====
==== OpenAttributes ====
| <!-- Description -->
|
Open [[Eden Editor: Entity Attributes|attributes]] of selected entities.
Open [[Eden Editor: Entity Attributes|attributes]] of selected entities.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== OpenSteamPublishDialog ====
|
Open Steam Publish Options window.
|
|-
|
==== OptionsAudio ====
==== OptionsAudio ====
| <!-- Description -->
|
Open Audio Options window.
Open Audio Options window.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== OptionsControls ====
==== OptionsControls ====
| <!-- Description -->
|
Open Controls Options window.
Open Controls Options window.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== OptionsGame ====
==== OptionsGame ====
| <!-- Description -->
|
Open Game Options window.
Open Game Options window.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== OptionsVideo ====
==== OptionsVideo ====
| <!-- Description -->
|
Open Video Options window.
Open Video Options window.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== PasteUnit ====
==== PasteUnit ====
| <!-- Description -->
|
Paste copied entities. The same as when you press Ctrl + V.
Paste copied entities. The same as when you press {{Controls|Ctrl|V}}.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== PasteUnitOrig ====
==== PasteUnitOrig ====
| <!-- Description -->
|
Paste copied entities on their original positions. The same as when you press Ctrl + Shift + V.
Paste copied entities on their original positions. The same as when you press {{Controls|Ctrl|Shift|V}}.
| <!-- State -->
{{Feature|important|Keep in mind that ''Surface Snapping'' and the selected ''Vertical Mode'' will influence the positioning when pasting!}}
|
|-
|-
| <!-- Title -->
|
==== Redo ====
==== Redo ====
| <!-- Description -->
|
Redo the undone operation.
Redo the undone operation.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== RotateGridToggle ====
==== RotateGridToggle ====
| <!-- Description -->
|
Toggle rotation grid.
Toggle rotation grid.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== ScaleGridToggle ====
==== ScaleGridToggle ====
| <!-- Description -->
|
Toggle area scaling grid.
Toggle area scaling grid.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== SearchCreate ====
==== SearchCreate ====
| <!-- Description -->
|
Switch focus to [[Eden Editor: Asset Browser|asset browser]] search field.
Switch focus to [[Eden Editor: Asset Browser|asset browser]] search field.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== SearchEdit ====
==== SearchEdit ====
| <!-- Description -->
|
Switch focus to [[Eden Editor: Entity List|entity list]] search field.
Switch focus to entity list search field.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== SelectAllOnScreen ====
==== SelectAllOnScreen ====
| <!-- Description -->
|
Select all entities currently visible on the screen.
Select all entities currently visible on the screen.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== SelectGroupMode ====
==== SelectGroupMode ====
| <!-- Description -->
|
Select the ''Compositions'' mode. The same as when you press F2.
Select the ''Compositions'' mode. The same as when you press {{Controls|F2}}.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== SelectLayerAllDescendants ====
==== SelectLayerAllDescendants ====
| <!-- Description -->
|
Select all entities in selected layers and all sub-layers.
Select all entities in selected layers and all sub-layers.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== SelectLayerChildren ====
==== SelectLayerChildren ====
| <!-- Description -->
|
Select all entities directly in selected layers.
Select all entities directly in selected layers.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== SelectMarkerMode ====
==== SelectMarkerMode ====
| <!-- Description -->
|
Select the ''Markers'' mode. The same as when you press F6.
Select the ''Markers'' mode. The same as when you press {{Controls|F6}}.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== SelectModuleMode ====
==== SelectModuleMode ====
| <!-- Description -->
|
Select the ''Systems'' mode. The same as when you press F5.
Select the ''Systems'' mode. The same as when you press {{Controls|F5}}.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== SelectObjectMode ====
==== SelectObjectMode ====
| <!-- Description -->
|
Select the ''Objects'' mode. The same as when you press F1.
Select the ''Objects'' mode. The same as when you press {{Controls|F1}}.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== SelectSubmode1 ====
==== SelectSubmode1 ====
| <!-- Description -->
|
Select the first sub-mode. Based on the selected mode; for example it's ''BLUFOR'' when ''Objects'' mode is selected.
Select the first sub-mode. Based on the selected mode; for example it is ''BLUFOR'' when ''Objects'' mode is selected.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== SelectSubmode2 ====
==== SelectSubmode2 ====
| <!-- Description -->
|
Select the second su-bmode. Based on the selected mode; for example it's ''BLUFOR'' when ''OPFOR'' mode is selected.
Select the second submode. Based on the selected mode; for example it is ''OPFOR'' when ''Objects'' mode is selected.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== SelectSubmode3 ====
==== SelectSubmode3 ====
| <!-- Description -->
|
Select the third sub-mode. Based on the selected mode; for example it's ''Independent'' when ''Objects'' mode is selected.
Select the third sub-mode. Based on the selected mode; for example it is ''Independent'' when ''Objects'' mode is selected.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== SelectSubmode4 ====
==== SelectSubmode4 ====
| <!-- Description -->
|
Select the fourth sub-mode. Based on the selected mode; for example it's ''Civilian'' when ''Objects'' mode is selected.
Select the fourth sub-mode. Based on the selected mode; for example it is ''Civilian'' when ''Objects'' mode is selected.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== SelectSubmode5 ====
==== SelectSubmode5 ====
| <!-- Description -->
|
Select the fifth sub-mode. Based on the selected mode; for example it's ''Props'' when ''Objects'' mode is selected.
Select the fifth sub-mode. Based on the selected mode; for example it is ''Props'' when ''Objects'' mode is selected.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
 
|-
|
==== SelectSubmode6 ====
|
Select the sixth sub-mode. Based on the selected mode; for example it is ''Custom'' when ''Compositions'' mode is selected.
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== SelectTriggerMode ====
==== SelectTriggerMode ====
| <!-- Description -->
|
Select the ''Triggers'' mode. The same as when you press F3.
Select the ''Triggers'' mode. The same as when you press {{Controls|F3}}.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== SelectUnit ====
==== SelectUnit ====
| <!-- Description -->
|
Select the entity under cursor.
Select the entity under cursor.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== SelectWaypointMode ====
==== SelectWaypointMode ====
| <!-- Description -->
|
Select the ''Waypoints'' mode. The same as when you press F4.
Select the ''Waypoints'' mode. The same as when you press {{Controls|F4}}.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== SetFlyingHeight ====
==== SetFlyingHeight ====
| <!-- Description -->
|
Move selected entities to default flying height. Only available for flying objects, i.e., planes and helicopters.
Move selected entities to default flying height. Only available for flying objects, i.e., planes and helicopters.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== SnapToSurface====
==== SnapToSurface====
| <!-- Description -->
|
Snap selected entities to the ground.
Snap selected entities to the ground.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== SubmodeToggle ====
==== SubmodeToggle ====
| <!-- Description -->
|
Toggle sub-mode (browse through all available ones).
Toggle sub-mode (browse through all available ones).
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== SurfaceSnapDisable ====
==== SurfaceSnapDisable ====
| <!-- Description -->
|
Toggle surface snap off.
Toggle surface snap off.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== SurfaceSnapEnable ====
==== SurfaceSnapEnable ====
| <!-- Description -->
|
Toggle surface snap on.
Toggle surface snap on.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== SurfaceSnapToggle ====
==== SurfaceSnapToggle ====
| <!-- Description -->
|
Toggle surface snap on/off.
Toggle surface snap on/off.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== ToggleMap ====
==== ToggleMap ====
| <!-- Description -->
|
Toggle map on/off.
Toggle map on/off.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== ToggleMapIDs ====
==== ToggleMapIDs ====
| <!-- Description -->
|
Toggle map IDs on/off.
Toggle map IDs on/off.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== ToggleMapTextures ====
==== ToggleMapTextures ====
| <!-- Description -->
|
Toggle map textures on/off.
Toggle map textures on/off.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|
==== TogglePlaceEmptyVehicle ====
|
Toggle place empty vehicles on/off.
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== ToggleUnitSel ====
==== ToggleUnitSel ====
| <!-- Description -->
|
Toggle entity selection on/off.
Toggle entity selection on/off.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== Undo ====
==== Undo ====
| <!-- Description -->
|
Undo the last operation.
Undo the last operation.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== VerticalASL ====
==== VerticalASL ====
| <!-- Description -->
|
Set vertical mode to ASL (Above Sea Level).
Set vertical mode to ASL (Above Sea Level).
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== VerticalATL ====
==== VerticalATL ====
| <!-- Description -->
|
Set vertical mode to ATL (Above Terrain Level).
Set vertical mode to ATL (Above Terrain Level).
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== VerticalToggle ====
==== VerticalToggle ====
| <!-- Description -->
|
Toggle vertical mode.
Toggle vertical mode.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== WidgetArea ====
|
Toggle [[Eden_Editor:_Transformation_Widget|area widget]] on.
| {{Icon|checked}}
|-
|
==== WidgetCoord ====
==== WidgetCoord ====
| <!-- Description -->
|
Toggle [[Eden_Editor:_Transformation_Widget|widget]] coordinate space between global and local.
Toggle [[Eden_Editor:_Transformation_Widget|widget]] coordinate space between global and local.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== WidgetNone ====
==== WidgetNone ====
| <!-- Description -->
|
Toggle [[Eden_Editor:_Transformation_Widget|widget]] off.
Toggle [[Eden_Editor:_Transformation_Widget|widget]] off.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== WidgetRotation ====
==== WidgetRotation ====
| <!-- Description -->
|
Toggle rotation [[Eden_Editor:_Transformation_Widget|widget]] on.
Toggle [[Eden_Editor:_Transformation_Widget|rotation widget]] on.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== WidgetScale ====
==== WidgetScale ====
| <!-- Description -->
|
Toggle area scaling [[Eden_Editor:_Transformation_Widget|widget]] on.
Toggle [[Eden_Editor:_Transformation_Widget|scaling widget]] on.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|-
|-
| <!-- Title -->
|
==== WidgetSpaceLocal ====
==== WidgetSpaceLocal ====
| <!-- Description -->
|
Set [[Eden_Editor:_Transformation_Widget|widget]] coordinate space to local.
Set [[Eden_Editor:_Transformation_Widget|widget]] coordinate space to local.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== WidgetSpaceWorld ====
==== WidgetSpaceWorld ====
| <!-- Description -->
|
Set [[Eden_Editor:_Transformation_Widget|widget]] coordinate space to global.
Set [[Eden_Editor:_Transformation_Widget|widget]] coordinate space to global.
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== WidgetToggle ====
==== WidgetToggle ====
| <!-- Description -->
|
Toggle [[Eden_Editor:_Transformation_Widget|widget]] (browse through all available widget types).
Toggle [[Eden_Editor:_Transformation_Widget|widget]] (browse through all available widget types).
| <!-- State -->
|
|-
|-
| <!-- Title -->
|
==== WidgetTranslation ====
==== WidgetTranslation ====
| <!-- Description -->
|
Toggle translation [[Eden_Editor:_Transformation_Widget|widget]] on.
Toggle [[Eden_Editor:_Transformation_Widget|translation widget]] on.
| style="text-align:center;" | {{task/}}
| {{Icon|checked}}
|}
|}


[[Category: Eden Editor|Actions]]
[[Category: Eden Editor: Modding|Actions]]
[[Category: Eden Editor: Modding|Actions]]

Latest revision as of 16:07, 31 August 2023

Actions are engine operations used by Menu Bar and are available for scripting.

Perform an action:

do3DENAction "actionName"

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

get3DENActionState "actionName"

Action Description State

AddUnitToSel

Add entity under cursor to selection, the same as when you press Ctrl + Left Mouse Button on an entity

AddWaypoint

Add quick waypoint to currently selected entities / groups. The same as when you press ⇧ Shift + Right Mouse Button.

CenterCameraOnPlayer

Move camera to player's position.

ClearSelections

Cancel the current selection.

CopyUnit

Copy all selected entities. The same as when you press Ctrl + C.

CreateAndChangeComment

Create a comment under cursor and open its attributes window.

CreateComment

Create a comment under cursor.

CreateCustomComposition

Create a composition from selected objects.

CutUnit

Cut all selected entities. The same as when you press Ctrl + X.

DeleteCustomComposition

Delete a composition.

DeleteUnits

Delete all selected entities. The same as when you press Del.

EditCustomComposition

Edit a composition.

Exit3DEN

Exit the Eden Editor, with a prompt asking for confirmation being displayed first. The same as when you press Esc.

ForceToFormation

Move all selected group members to their default formation positions.

LevelOutObjects

Orient all selected entities to sea normal.

LevelWithSurface

Orient all selected entities to terrain normal.

MissionExportMP

Export the scenario to multiplayer scenarios.

MissionExportSP

Export the scenario to scenario scenarios.

MissionLoad

Show "Open Scenario" window.

MissionNew

Show "New Scenario" window.

MissionPartIntro

Select Intro phase.

Checked

MissionPartMission

Select Scenario phase.

Checked

MissionPartOutroLoose

Select Outro - Lose phase.

Checked

MissionPartOutroWin

Select Outro - Win phase.

Checked

MissionPreview

Preview the scenario in singleplayer.

MissionPreviewBriefing

Preview the scenario in singleplayer with briefing.

MissionPreviewMP

Preview the scenario in multiplayer.

MissionSave

Save the scenario. If it has not been saved yet, open "Save Scenario" window.

MissionSaveAs

Open "Save Scenario" window.

MoveGridToggle

Toggle translation grid.

Checked

OpenAttributes

Open attributes of selected entities.

OpenSteamPublishDialog

Open Steam Publish Options window.

OptionsAudio

Open Audio Options window.

OptionsControls

Open Controls Options window.

OptionsGame

Open Game Options window.

OptionsVideo

Open Video Options window.

PasteUnit

Paste copied entities. The same as when you press Ctrl + V.

PasteUnitOrig

Paste copied entities on their original positions. The same as when you press Ctrl + ⇧ Shift + V.

Keep in mind that Surface Snapping and the selected Vertical Mode will influence the positioning when pasting!

Redo

Redo the undone operation.

RotateGridToggle

Toggle rotation grid.

Checked

ScaleGridToggle

Toggle area scaling grid.

Checked

SearchCreate

Switch focus to asset browser search field.

SearchEdit

Switch focus to entity list search field.

SelectAllOnScreen

Select all entities currently visible on the screen.

SelectGroupMode

Select the Compositions mode. The same as when you press F2.

Checked

SelectLayerAllDescendants

Select all entities in selected layers and all sub-layers.

SelectLayerChildren

Select all entities directly in selected layers.

SelectMarkerMode

Select the Markers mode. The same as when you press F6.

Checked

SelectModuleMode

Select the Systems mode. The same as when you press F5.

Checked

SelectObjectMode

Select the Objects mode. The same as when you press F1.

Checked

SelectSubmode1

Select the first sub-mode. Based on the selected mode; for example it is BLUFOR when Objects mode is selected.

Checked

SelectSubmode2

Select the second submode. Based on the selected mode; for example it is OPFOR when Objects mode is selected.

Checked

SelectSubmode3

Select the third sub-mode. Based on the selected mode; for example it is Independent when Objects mode is selected.

Checked

SelectSubmode4

Select the fourth sub-mode. Based on the selected mode; for example it is Civilian when Objects mode is selected.

Checked

SelectSubmode5

Select the fifth sub-mode. Based on the selected mode; for example it is Props when Objects mode is selected.

Checked

SelectSubmode6

Select the sixth sub-mode. Based on the selected mode; for example it is Custom when Compositions mode is selected.

Checked

SelectTriggerMode

Select the Triggers mode. The same as when you press F3.

Checked

SelectUnit

Select the entity under cursor.

SelectWaypointMode

Select the Waypoints mode. The same as when you press F4.

Checked

SetFlyingHeight

Move selected entities to default flying height. Only available for flying objects, i.e., planes and helicopters.

SnapToSurface

Snap selected entities to the ground.

SubmodeToggle

Toggle sub-mode (browse through all available ones).

SurfaceSnapDisable

Toggle surface snap off.

SurfaceSnapEnable

Toggle surface snap on.

SurfaceSnapToggle

Toggle surface snap on/off.

Checked

ToggleMap

Toggle map on/off.

Checked

ToggleMapIDs

Toggle map IDs on/off.

Checked

ToggleMapTextures

Toggle map textures on/off.

Checked

TogglePlaceEmptyVehicle

Toggle place empty vehicles on/off.

Checked

ToggleUnitSel

Toggle entity selection on/off.

Undo

Undo the last operation.

VerticalASL

Set vertical mode to ASL (Above Sea Level).

Checked

VerticalATL

Set vertical mode to ATL (Above Terrain Level).

Checked

VerticalToggle

Toggle vertical mode.

Checked

WidgetArea

Toggle area widget on.

Checked

WidgetCoord

Toggle widget coordinate space between global and local.

Checked

WidgetNone

Toggle widget off.

Checked

WidgetRotation

Toggle rotation widget on.

Checked

WidgetScale

Toggle scaling widget on.

Checked

WidgetSpaceLocal

Set widget coordinate space to local.

WidgetSpaceWorld

Set widget coordinate space to global.

WidgetToggle

Toggle widget (browse through all available widget types).

WidgetTranslation

Toggle translation widget on.

Checked