Eden Editor: Actions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
  [[do3DENAction]] "actionName"
  [[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.
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"
  [[get3DENActionState]] "actionName"


== List ==
== List ==
{{Horizontoc|include=2|also=nonumtoc}}
{| class="wikitable sortable"
{| class="wikitable sortable"
! Action
! Action
Line 108: Line 109:
| <!-- Description -->
| <!-- Description -->
Select ''Intro'' [[Eden Editor: Scenario Phases|phase]].
Select ''Intro'' [[Eden Editor: Scenario Phases|phase]].
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 114: Line 115:
| <!-- Description -->
| <!-- Description -->
Select ''Scenario'' [[Eden Editor: Scenario Phases|phase]].
Select ''Scenario'' [[Eden Editor: Scenario Phases|phase]].
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 120: Line 121:
| <!-- Description -->
| <!-- Description -->
Select ''Outro - Lose'' [[Eden Editor: Scenario Phases|phase]].
Select ''Outro - Lose'' [[Eden Editor: Scenario Phases|phase]].
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 126: Line 127:
| <!-- Description -->
| <!-- Description -->
Select ''Outro - Win'' [[Eden Editor: Scenario Phases|phase]].
Select ''Outro - Win'' [[Eden Editor: Scenario Phases|phase]].
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 162: Line 163:
| <!-- Description -->
| <!-- Description -->
Toggle translation grid.
Toggle translation grid.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 216: Line 217:
| <!-- Description -->
| <!-- Description -->
Toggle rotation grid.
Toggle rotation grid.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 222: Line 223:
| <!-- Description -->
| <!-- Description -->
Toggle area scaling grid.
Toggle area scaling grid.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 246: Line 247:
| <!-- Description -->
| <!-- Description -->
Select the ''Compositions'' mode. The same as when you press F2.
Select the ''Compositions'' mode. The same as when you press F2.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 252: Line 253:
| <!-- Description -->
| <!-- Description -->
Select the ''Markers'' mode. The same as when you press F6.
Select the ''Markers'' mode. The same as when you press F6.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 258: Line 259:
| <!-- Description -->
| <!-- Description -->
Select the ''Systems'' mode. The same as when you press F5.
Select the ''Systems'' mode. The same as when you press F5.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 264: Line 265:
| <!-- Description -->
| <!-- Description -->
Select the ''Objects'' mode. The same as when you press F1.
Select the ''Objects'' mode. The same as when you press F1.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 270: Line 271:
| <!-- Description -->
| <!-- Description -->
Select the first submode. Based on the selected mode; for example it's ''BLUFOR'' when ''Objects'' mode is selected.
Select the first submode. Based on the selected mode; for example it's ''BLUFOR'' when ''Objects'' mode is selected.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 276: Line 277:
| <!-- Description -->
| <!-- Description -->
Select the second submode. 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's ''BLUFOR'' when ''OPFOR'' mode is selected.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 282: Line 283:
| <!-- Description -->
| <!-- Description -->
Select the third submode. Based on the selected mode; for example it's ''Independent'' when ''Objects'' mode is selected.
Select the third submode. Based on the selected mode; for example it's ''Independent'' when ''Objects'' mode is selected.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 288: Line 289:
| <!-- Description -->
| <!-- Description -->
Select the fourth submode. Based on the selected mode; for example it's ''Civilian'' when ''Objects'' mode is selected.
Select the fourth submode. Based on the selected mode; for example it's ''Civilian'' when ''Objects'' mode is selected.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 294: Line 295:
| <!-- Description -->
| <!-- Description -->
Select the fifth submode. Based on the selected mode; for example it's ''Props'' when ''Objects'' mode is selected.
Select the fifth submode. Based on the selected mode; for example it's ''Props'' when ''Objects'' mode is selected.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 300: Line 301:
| <!-- Description -->
| <!-- Description -->
Select the ''Triggers'' mode. The same as when you press F3.
Select the ''Triggers'' mode. The same as when you press F3.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 312: Line 313:
| <!-- Description -->
| <!-- Description -->
Select the ''Waypoints'' mode. The same as when you press F4.
Select the ''Waypoints'' mode. The same as when you press F4.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 330: Line 331:
| <!-- Description -->
| <!-- Description -->
Toggle surface snap on/off.
Toggle surface snap on/off.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 336: Line 337:
| <!-- Description -->
| <!-- Description -->
Toggle map on/off.
Toggle map on/off.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 342: Line 343:
| <!-- Description -->
| <!-- Description -->
Toggle map IDs on/off.
Toggle map IDs on/off.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 348: Line 349:
| <!-- Description -->
| <!-- Description -->
Toggle map textures on/off.
Toggle map textures on/off.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 366: Line 367:
| <!-- Description -->
| <!-- Description -->
Set vertical mode to ASL (Above Sea Level).
Set vertical mode to ASL (Above Sea Level).
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 372: Line 373:
| <!-- Description -->
| <!-- Description -->
Set vertical mode to ATL (Above Terrain Level).
Set vertical mode to ATL (Above Terrain Level).
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 378: Line 379:
| <!-- Description -->
| <!-- Description -->
Toggle vertical mode.
Toggle vertical mode.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 384: Line 385:
| <!-- Description -->
| <!-- 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.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 390: Line 391:
| <!-- Description -->
| <!-- Description -->
Toggle [[Eden_Editor:_Transformation_Widget|widget]] off.
Toggle [[Eden_Editor:_Transformation_Widget|widget]] off.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 396: Line 397:
| <!-- Description -->
| <!-- Description -->
Toggle rotation [[Eden_Editor:_Transformation_Widget|widget]] on.
Toggle rotation [[Eden_Editor:_Transformation_Widget|widget]] on.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 402: Line 403:
| <!-- Description -->
| <!-- Description -->
Toggle area scaling [[Eden_Editor:_Transformation_Widget|widget]] on.
Toggle area scaling [[Eden_Editor:_Transformation_Widget|widget]] on.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|-
|-
| <!-- Title -->
| <!-- Title -->
Line 426: Line 427:
| <!-- Description -->
| <!-- Description -->
Toggle translation [[Eden_Editor:_Transformation_Widget|widget]] on.
Toggle translation [[Eden_Editor:_Transformation_Widget|widget]] on.
| <!-- State -->
| style="text-align:center;" | {{task/}}
|}
|}



Revision as of 12:59, 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 (see the State column below); when an action doesn't have any state, -1 is returned.

get3DENActionState "actionName"

List

Template:Horizontoc

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.

Template:task/

MissionPartMission

Select Scenario phase.

Template:task/

MissionPartOutroLoose

Select Outro - Lose phase.

Template:task/

MissionPartOutroWin

Select Outro - Win phase.

Template:task/

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.

Template:task/

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.

Template:task/

ScaleGridToggle

Toggle area scaling grid.

Template:task/

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.

Template:task/

SelectMarkerMode

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

Template:task/

SelectModuleMode

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

Template:task/

SelectObjectMode

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

Template:task/

SelectSubmode1

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

Template:task/

SelectSubmode2

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

Template:task/

SelectSubmode3

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

Template:task/

SelectSubmode4

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

Template:task/

SelectSubmode5

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

Template:task/

SelectTriggerMode

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

Template:task/

SelectUnit

Select the entity under cursor.

SelectWaypointMode

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

Template:task/

SurfaceSnapDisable

Toggle surface snap off.

SurfaceSnapEnable

Toggle surface snap on.

SurfaceSnapToggle

Toggle surface snap on/off.

Template:task/

ToggleMap

Toggle map on/off.

Template:task/

ToggleMapIDs

Toggle map IDs on/off.

Template:task/

ToggleMapTextures

Toggle map textures on/off.

Template:task/

ToggleUnitSel

Toggle entity selection on/off.

Undo

Undo the last operation.

VerticalASL

Set vertical mode to ASL (Above Sea Level).

Template:task/

VerticalATL

Set vertical mode to ATL (Above Terrain Level).

Template:task/

VerticalToggle

Toggle vertical mode.

Template:task/

WidgetCoord

Toggle widget coordinate space between global and local.

Template:task/

WidgetNone

Toggle widget off.

Template:task/

WidgetRotation

Toggle rotation widget on.

Template:task/

WidgetScale

Toggle area scaling widget on.

Template:task/

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.

Template:task/