Eden Editor: Actions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added missing eden actions)
(Documented actions)
Line 19: Line 19:
{{Wiki|TODO}}
{{Wiki|TODO}}
|
|
{{Icon|unknown}}
{{Icon|no}}
|-
|-
|
|
Line 26: Line 26:
{{Wiki|TODO}}
{{Wiki|TODO}}
|
|
{{Icon|unknown}}
{{Icon|no}}
|-
|-
|  
|  
Line 51: Line 51:
{{Wiki|TODO}}
{{Wiki|TODO}}
|
|
{{Icon|unknown}}
{{Icon|no}}
|-
|-
|
|
Line 122: Line 122:
==== GroupWith ====
==== GroupWith ====
|
|
{{Wiki|TODO}}
Initializes the ''Group With'' action. Same as if selecting the option in the context menu. At least one group must be selected.
|
|
{{Icon|unknown}}
{{Icon|no}}
|-
|-
|
|
Line 159: Line 159:
==== MissionMerge ====
==== MissionMerge ====
|
|
{{Wiki|TODO}}
Opens the merge UI.
|
|
{{Icon|unknown}}
{{Icon|unknown}}
Line 226: Line 226:
==== MoveGridDecrease ====
==== MoveGridDecrease ====
|
|
{{Wiki|TODO}}
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)).
Also triggers {{hl|OnMoveGridDecrease}} event.
|
|
{{Icon|unknown}}
{{Icon|no}}
|-
|-
|
|
==== MoveGridIncrease ====
==== MoveGridIncrease ====
|
|
{{Wiki|TODO}}
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)).
Also triggers {{hl|OnMoveGridIncrease}} event.
|
|
{{Icon|unknown}}
{{Icon|no}}
|-
|-
|
|
Line 252: Line 254:
==== OpenIntelDisplay ====
==== OpenIntelDisplay ====
|
|
{{Wiki|TODO}}
Opens the Edit: Environment UI.
|
|
{{Icon|unknown}}
{{Icon|no}}
|-
|-
|
|
==== OpenRequiredAddons ====
==== OpenRequiredAddons ====
|
|
{{Wiki|TODO}}
Opens the required addons UI.
|
|
{{Icon|unknown}}
{{Icon|no}}
|-
|-
|
|
Line 309: Line 311:
==== PublishCustomComposition ====
==== PublishCustomComposition ====
|
|
{{Wiki|TODO}}
Seems to have no effect.
|
|
{{Icon|unknown}}
{{Icon|no}}
|-
|-
|
|
Line 322: Line 324:
==== RestoreEditTreeExpansion ====
==== RestoreEditTreeExpansion ====
|
|
{{Wiki|TODO}}
Restores previous state of the nodes in the entity browser (left panel).
|
|
{{Icon|unknown}}
{{Icon|no}}
|-
|-
|
|
==== RotateGridDecrease ====
==== RotateGridDecrease ====
|
|
{{Wiki|TODO}}
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)).
Also triggers {{hl|OnRotateGridDecrease}} event.
|
|
{{Icon|unknown}}
{{Icon|no}}
|-
|-
|
|
==== RotateGridIncrease ====
==== RotateGridIncrease ====
|
|
{{Wiki|TODO}}
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)).
Also triggers {{hl|OnRotateGridIncrease}} event.
|
|
{{Icon|unknown}}
{{Icon|no}}
|-
|-
|
|
Line 470: Line 474:
==== SetTriggerOwner ====
==== SetTriggerOwner ====
|
|
{{Wiki|TODO}}
Initializes the ''Set Trigger Owner'' action. Same as if selecting the option in the context menu. At least one trigger must be selected.
|
|
{{Icon|unknown}}
{{Icon|no}}
|-
|-
|
|
==== SetWaypointActivation ====
==== SetWaypointActivation ====
|
|
{{Wiki|TODO}}
Initializes the ''Set Waypoint Activation'' action. Same as if selecting the option in the context menu. At least one waypoint must be selected.
|
|
{{Icon|unknown}}
{{Icon|no}}
|-
|-
|
|
Line 514: Line 518:
==== SyncWith ====
==== SyncWith ====
|
|
{{Wiki|TODO}}
Initializes the ''Synch With'' action. Same as if selecting the option in the context menu. At least syncable entity must be selected.
|
|
{{Icon|unknown}}
{{Icon|no}}
|-
|-
|
|
Line 557: Line 561:
==== Unknown ====
==== Unknown ====
|
|
{{Wiki|TODO}}
Unknown effect.
|
|
{{Icon|unknown}}
{{Icon|no}}
|-
|-
|
|

Revision as of 17:41, 14 May 2024

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

AddCustomConnection

🚧
TODO: this must be updated.

-wrong parameter ("no") defined!-

AddCustomStart

🚧
TODO: this must be updated.

-wrong parameter ("no") defined!-

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.

ChangeSeat

🚧
TODO: this must be updated.

-wrong parameter ("no") defined!-

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.

GroupWith

Initializes the Group With action. Same as if selecting the option in the context menu. At least one group must be selected.

-wrong parameter ("no") defined!-

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.

MissionMerge

Opens the merge UI.

Unknown

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.

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)). Also triggers OnMoveGridDecrease event.

-wrong parameter ("no") defined!-

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)). Also triggers OnMoveGridIncrease event.

-wrong parameter ("no") defined!-

MoveGridToggle

Toggle translation grid.

Checked

OpenAttributes

Open attributes of selected entities.

OpenIntelDisplay

Opens the Edit: Environment UI.

-wrong parameter ("no") defined!-

OpenRequiredAddons

Opens the required addons UI.

-wrong parameter ("no") defined!-

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!

PublishCustomComposition

Seems to have no effect.

-wrong parameter ("no") defined!-

Redo

Redo the undone operation.

RestoreEditTreeExpansion

Restores previous state of the nodes in the entity browser (left panel).

-wrong parameter ("no") defined!-

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)). Also triggers OnRotateGridDecrease event.

-wrong parameter ("no") defined!-

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)). Also triggers OnRotateGridIncrease event.

-wrong parameter ("no") defined!-

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.

SetTriggerOwner

Initializes the Set Trigger Owner action. Same as if selecting the option in the context menu. At least one trigger must be selected.

-wrong parameter ("no") defined!-

SetWaypointActivation

Initializes the Set Waypoint Activation action. Same as if selecting the option in the context menu. At least one waypoint must be selected.

-wrong parameter ("no") defined!-

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

SyncWith

Initializes the Synch With action. Same as if selecting the option in the context menu. At least syncable entity must be selected.

-wrong parameter ("no") defined!-

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.

Unknown

Unknown effect.

-wrong parameter ("no") defined!-

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