Eden Editor: Actions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 317: Line 317:
==== SurfaceSnapDisable ====
==== SurfaceSnapDisable ====
| <!-- Description -->
| <!-- Description -->
Toggle surface snap off.
| <!-- State -->
| <!-- State -->
|-
|-
Line 322: Line 323:
==== SurfaceSnapEnable ====
==== SurfaceSnapEnable ====
| <!-- Description -->
| <!-- Description -->
Toggle surface snap on.
| <!-- State -->
| <!-- State -->
|-
|-
Line 327: Line 329:
==== SurfaceSnapToggle ====
==== SurfaceSnapToggle ====
| <!-- Description -->
| <!-- Description -->
Toggle surface snap on/off.
| <!-- State -->
| <!-- State -->
|-
|-
Line 332: Line 335:
==== ToggleMap ====
==== ToggleMap ====
| <!-- Description -->
| <!-- Description -->
| <!-- State -->
Toggle map on/off.
|-
| <!-- Title -->
==== ToggleMap ====
| <!-- Description -->
| <!-- State -->
| <!-- State -->
|-
|-
Line 342: Line 341:
==== ToggleMapIDs ====
==== ToggleMapIDs ====
| <!-- Description -->
| <!-- Description -->
Toggle map IDs on/off.
| <!-- State -->
| <!-- State -->
|-
|-
Line 347: Line 347:
==== ToggleMapTextures ====
==== ToggleMapTextures ====
| <!-- Description -->
| <!-- Description -->
Toggle map textures on/off.
| <!-- State -->
| <!-- State -->
|-
|-
Line 352: Line 353:
==== ToggleUnitSel ====
==== ToggleUnitSel ====
| <!-- Description -->
| <!-- Description -->
| <!-- State -->
Toggle entity selection on/off.
|-
| <!-- Title -->
==== ToggleVision ====
| <!-- Description -->
| <!-- State -->
| <!-- State -->
|-
|-
Line 362: Line 359:
==== Undo ====
==== Undo ====
| <!-- Description -->
| <!-- Description -->
Undo the last operation.
| <!-- State -->
| <!-- State -->
|-
|-
Line 367: Line 365:
==== VerticalASL ====
==== VerticalASL ====
| <!-- Description -->
| <!-- Description -->
Set vertical mode to ASL (Above Sea Level).
| <!-- State -->
| <!-- State -->
|-
|-
Line 372: Line 371:
==== VerticalATL ====
==== VerticalATL ====
| <!-- Description -->
| <!-- Description -->
Set vertical mode to ATL (Above Terrain Level).
| <!-- State -->
| <!-- State -->
|-
|-
Line 377: Line 377:
==== VerticalToggle ====
==== VerticalToggle ====
| <!-- Description -->
| <!-- Description -->
Toggle vertical mode.
| <!-- State -->
| <!-- State -->
|-
|-
Line 382: Line 383:
==== WidgetCoord ====
==== WidgetCoord ====
| <!-- Description -->
| <!-- Description -->
| <!-- State -->
Toggle [[Eden_Editor:_Transformation_Widget|widget]] coordinate space between global and local.
|-
| <!-- Title -->
==== WidgetDisable ====
| <!-- Description -->
| <!-- State -->
| <!-- State -->
|-
|-
Line 392: Line 389:
==== WidgetNone ====
==== WidgetNone ====
| <!-- Description -->
| <!-- Description -->
Toggle [[Eden_Editor:_Transformation_Widget|widget]] off.
| <!-- State -->
| <!-- State -->
|-
|-
Line 397: Line 395:
==== WidgetRotation ====
==== WidgetRotation ====
| <!-- Description -->
| <!-- Description -->
Toggle rotation [[Eden_Editor:_Transformation_Widget|widget]] on.
| <!-- State -->
| <!-- State -->
|-
|-
Line 402: Line 401:
==== WidgetScale ====
==== WidgetScale ====
| <!-- Description -->
| <!-- Description -->
Toggle area scaling [[Eden_Editor:_Transformation_Widget|widget]] on.
| <!-- State -->
| <!-- State -->
|-
|-
Line 407: Line 407:
==== WidgetSpaceLocal ====
==== WidgetSpaceLocal ====
| <!-- Description -->
| <!-- Description -->
Set [[Eden_Editor:_Transformation_Widget|widget]] coordinate space to local.
| <!-- State -->
| <!-- State -->
|-
|-
Line 412: Line 413:
==== WidgetSpaceWorld ====
==== WidgetSpaceWorld ====
| <!-- Description -->
| <!-- Description -->
Set [[Eden_Editor:_Transformation_Widget|widget]] coordinate space to global.
| <!-- State -->
| <!-- State -->
|-
|-
Line 417: Line 419:
==== WidgetToggle ====
==== WidgetToggle ====
| <!-- Description -->
| <!-- Description -->
Toggle [[Eden_Editor:_Transformation_Widget|widget]] (browse through all available widget types).
| <!-- State -->
| <!-- State -->
|-
|-
Line 422: Line 425:
==== WidgetTranslation ====
==== WidgetTranslation ====
| <!-- Description -->
| <!-- Description -->
Toggle translation [[Eden_Editor:_Transformation_Widget|widget]] on.
| <!-- State -->
| <!-- State -->
|}
|}

Revision as of 13:42, 3 November 2015

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; when an action doesn't have any state, -1 is returned.

get3DENActionState "actionName"

List

Action Description State

AddUnitToSel

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

AddWaypoint

Add quick waypoint to currently selected entities / groups. The same as when you press Shift + RMB.

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.

CutUnit

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

DeleteUnits

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

Exit3DEN

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

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.

MissionPartMission

Select Scenario phase.

MissionPartOutroLoose

Select Outro - Lose phase.

MissionPartOutroWin

Select Outro - Win phase.

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 hasn't been saved yet, open "Save Scenario" window.

MissionSaveAs

Open "Save Scenario" window.

MoveGridToggle

Toggle translation grid.

OpenAttributes

Open attributes of selected entities.

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.

Redo

Redo the undone operation.

RotateGridToggle

Toggle rotation grid.

ScaleGridToggle

Toggle area scaling grid.

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.

SelectMarkerMode

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

SelectModuleMode

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

SelectObjectMode

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

SelectSubmode1

Select the first submode. Based on the selected mode; for example it's BLUFOR when Objects mode is selected.

SelectSubmode2

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

SelectSubmode3

Select the third submode. Based on the selected mode; for example it's Independent when Objects mode is selected.

SelectSubmode4

Select the fourth submode. Based on the selected mode; for example it's Civilian when Objects mode is selected.

SelectSubmode5

Select the fifth submode. Based on the selected mode; for example it's Props when Objects mode is selected.

SelectTriggerMode

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

SelectUnit

Select the entity under cursor.

SelectWaypointMode

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

SurfaceSnapDisable

Toggle surface snap off.

SurfaceSnapEnable

Toggle surface snap on.

SurfaceSnapToggle

Toggle surface snap on/off.

ToggleMap

Toggle map on/off.

ToggleMapIDs

Toggle map IDs on/off.

ToggleMapTextures

Toggle map textures on/off.

ToggleUnitSel

Toggle entity selection on/off.

Undo

Undo the last operation.

VerticalASL

Set vertical mode to ASL (Above Sea Level).

VerticalATL

Set vertical mode to ATL (Above Terrain Level).

VerticalToggle

Toggle vertical mode.

WidgetCoord

Toggle widget coordinate space between global and local.

WidgetNone

Toggle widget off.

WidgetRotation

Toggle rotation widget on.

WidgetScale

Toggle area scaling widget on.

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.