Eden Editor: Actions: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 17: | Line 17: | ||
==== AddUnitToSel ==== | ==== AddUnitToSel ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Add entity under cursor to selection, the same as when you press Ctrl + LMB on an entity | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 22: | Line 23: | ||
==== AddWaypoint ==== | ==== AddWaypoint ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Add quick waypoint to currently selected entities / groups. The same as when you press Shift + RMB. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 27: | Line 29: | ||
==== CenterCameraOnPlayer ==== | ==== CenterCameraOnPlayer ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Move camera to player's position. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 37: | Line 35: | ||
==== ClearSelections ==== | ==== ClearSelections ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Cancel the current selection. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 42: | Line 41: | ||
==== CopyUnit ==== | ==== CopyUnit ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Copy all selected entities. The same as when you press Ctrl + C. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 47: | Line 47: | ||
==== CutUnit ==== | ==== CutUnit ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Cut all selected entities. The same as when you press Ctrl + X. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 52: | Line 53: | ||
==== DeleteUnits ==== | ==== DeleteUnits ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Delete all selected entities. The same as when you press Delete key. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== Exit3DEN ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Exit the Eden Editor, with a prompt asking for confirmation being displayed first. The same as when you press Escape key. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== ForceToFormation ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Move all selected group members to their default formation positions. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== LevelOutObjects ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Orient all selected entities to sea normal. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== LevelWithSurface ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Orient all selected entities to terrain normal. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 77: | Line 83: | ||
==== MissionExportMP ==== | ==== MissionExportMP ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Export the scenario to multiplayer scenarios. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 82: | Line 89: | ||
==== MissionExportSP ==== | ==== MissionExportSP ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Export the scenario to scenario scenarios. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 87: | Line 95: | ||
==== MissionLoad ==== | ==== MissionLoad ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Show "Open Scenario" window. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 92: | Line 101: | ||
==== MissionNew ==== | ==== MissionNew ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Show "New Scenario" window. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 97: | Line 107: | ||
==== MissionPartIntro ==== | ==== MissionPartIntro ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Select ''Intro'' [[Eden Editor: Scenario Phases|phase]]. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== MissionPartMission ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Select ''Scenario'' [[Eden Editor: Scenario Phases|phase]]. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== MissionPartOutroLoose ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Select ''Outro - Lose'' [[Eden Editor: Scenario Phases|phase]]. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== MissionPartOutroWin ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Select ''Outro - Win'' [[Eden Editor: Scenario Phases|phase]]. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 117: | Line 131: | ||
==== MissionPreview ==== | ==== MissionPreview ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Preview the scenario in singleplayer. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 122: | Line 137: | ||
==== MissionPreviewBriefing ==== | ==== MissionPreviewBriefing ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Preview the scenario in singleplayer with briefing. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 127: | Line 143: | ||
==== MissionPreviewMP ==== | ==== MissionPreviewMP ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Preview the scenario in multiplayer. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 132: | Line 149: | ||
==== MissionSave ==== | ==== MissionSave ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Save the scenario. If it hasn't been saved yet, open "Save Scenario" window. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== MissionSaveAs ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Open "Save Scenario" window. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== MoveGridToggle ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Toggle translation grid. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OpenAttributes ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Open [[Eden Editor: Entity Attributes|attributes]] of selected entities. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 157: | Line 173: | ||
==== OptionsAudio ==== | ==== OptionsAudio ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Open Audio Options window. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 162: | Line 179: | ||
==== OptionsControls ==== | ==== OptionsControls ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Open Controls Options window. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 167: | Line 185: | ||
==== OptionsGame ==== | ==== OptionsGame ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Open Game Options window. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 172: | Line 191: | ||
==== OptionsVideo ==== | ==== OptionsVideo ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Open Video Options window. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 177: | Line 197: | ||
==== PasteUnit ==== | ==== PasteUnit ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Paste copied entities. The same as when you press Ctrl + V. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 182: | Line 203: | ||
==== PasteUnitOrig ==== | ==== PasteUnitOrig ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Paste copied entities on their original positions. The same as when you press Ctrl + Shift + V. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 187: | Line 209: | ||
==== Redo ==== | ==== Redo ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Redo the undone operation. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 192: | Line 215: | ||
==== RotateGridToggle ==== | ==== RotateGridToggle ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Toggle rotation grid. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 197: | Line 221: | ||
==== ScaleGridToggle ==== | ==== ScaleGridToggle ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Toggle area scaling grid. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 202: | Line 227: | ||
==== SearchCreate ==== | ==== SearchCreate ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Switch focus to [[Eden Editor: Asset Browser|asset browser]] search field. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 207: | Line 233: | ||
==== SearchEdit ==== | ==== SearchEdit ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Switch focus to [[Eden Editor: Entity List|entity list]] search field. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- | ||
Line 212: | Line 239: | ||
==== SelectAllOnScreen ==== | ==== SelectAllOnScreen ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
Select all entities currently visible on the screen. | |||
| <!-- State --> | | <!-- State --> | ||
|- | |- |
Revision as of 11:46, 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 |
||
SelectMarkerMode |
||
SelectModuleMode |
||
SelectObjectMode |
||
SelectSubmode1 |
||
SelectSubmode2 |
||
SelectSubmode3 |
||
SelectSubmode4 |
||
SelectSubmode5 |
||
SelectUnit |
||
SelectWaypointMode |
||
SurfaceSnapDisable |
||
SurfaceSnapEnable |
||
SurfaceSnapToggle |
||
ToggleMap |
||
ToggleMap |
||
ToggleMapIDs |
||
ToggleMapTextures |
||
ToggleUnitSel |
||
ToggleVision |
||
Undo |
||
VerticalASL |
||
VerticalATL |
||
VerticalToggle |
||
WidgetCoord |
||
WidgetDisable |
||
WidgetNone |
||
WidgetRotation |
||
WidgetScale |
||
WidgetSpaceLocal |
||
WidgetSpaceWorld |
||
WidgetToggle |
||
WidgetTranslation |