Eden Editor: Actions: Difference between revisions
m (Removed from main category. it's already in a sub category) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(19 intermediate revisions by 2 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: | ||
<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. | ||
<sqf>get3DENActionState "actionName"</sqf> | |||
{| class="wikitable sortable align-center-col-3" | |||
{| class="wikitable sortable" | |||
! Action | ! Action | ||
! class="unsortable" | Description | ! class="unsortable" | Description | ||
! State | ! State | ||
|- | |- | ||
| | | | ||
==== AddCustomConnection ==== | |||
| | |||
No implemented. Can only happen through context menu. | |||
| | |||
{{Icon|unchecked}} | |||
|- | |||
| | |||
==== AddRandomStart==== | |||
| | |||
Initializes the ''Set Random Start'' action. Same as if selecting the option in the context menu. At least one marker must be selected. | |||
| | |||
{{Icon|unchecked}} | |||
|- | |||
| | |||
==== AddUnitToSel ==== | ==== AddUnitToSel ==== | ||
| | | | ||
Add entity under cursor to selection, the same as when you press Ctrl | Add entity under cursor to selection, the same as when you press {{Controls|Ctrl|LMB}} on an entity | ||
| | | | ||
|- | |- | ||
| | | | ||
==== AddWaypoint ==== | ==== AddWaypoint ==== | ||
| | | | ||
Add quick waypoint to currently selected entities / groups. The same as when you press Shift | Add quick waypoint to currently selected entities / groups. The same as when you press {{Controls|Shift|RMB}}. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== CenterCameraOnPlayer ==== | ==== CenterCameraOnPlayer ==== | ||
| | | | ||
Move camera to player's position. | Move camera to player's position. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== ChangeSeat ==== | |||
| | |||
No implemented. Can only happen through context menu. | |||
| | |||
{{Icon|unchecked}} | |||
|- | |||
| | |||
==== ClearSelections ==== | ==== ClearSelections ==== | ||
| | | | ||
Cancel the current selection. | Cancel the current selection. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== CopyUnit ==== | ==== CopyUnit ==== | ||
| | | | ||
Copy all selected entities. The same as when you press Ctrl | Copy all selected entities. The same as when you press {{Controls|Ctrl|C}}. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== CreateAndChangeComment ==== | ==== CreateAndChangeComment ==== | ||
| | | | ||
Create a [[Eden_Editor:_Comment|comment]] under cursor and open its attributes window. | Create a [[Eden_Editor:_Comment|comment]] under cursor and open its attributes window. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== CreateComment ==== | ==== CreateComment ==== | ||
| | | | ||
Create a [[Eden_Editor:_Comment|comment]] under cursor. | Create a [[Eden_Editor:_Comment|comment]] under cursor. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== CreateCustomComposition ==== | ==== CreateCustomComposition ==== | ||
| | | | ||
Create a [[Eden Editor: Custom Composition|composition]] from selected objects. | Create a [[Eden Editor: Custom Composition|composition]] from selected objects. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== CutUnit ==== | ==== CutUnit ==== | ||
| | | | ||
Cut all selected entities. The same as when you press Ctrl | Cut all selected entities. The same as when you press {{Controls|Ctrl|X}}. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== DeleteCustomComposition ==== | ==== DeleteCustomComposition ==== | ||
| | | | ||
Delete a [[Eden Editor: Custom Composition|composition]]. | Delete a [[Eden Editor: Custom Composition|composition]]. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== DeleteUnits ==== | ==== DeleteUnits ==== | ||
| | | | ||
Delete all selected entities. The same as when you press Delete | Delete all selected entities. The same as when you press {{Controls|Delete}}. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== EditCustomComposition ==== | ==== EditCustomComposition ==== | ||
| | | | ||
Edit a [[Eden Editor: Custom Composition|composition]]. | Edit a [[Eden Editor: Custom Composition|composition]]. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== Exit3DEN ==== | ==== Exit3DEN ==== | ||
| | | | ||
Exit the Eden Editor, with a prompt asking for confirmation being displayed first. The same as when you press Escape | Exit the Eden Editor, with a prompt asking for confirmation being displayed first. The same as when you press {{Controls|Escape}}. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== ForceToFormation ==== | ==== ForceToFormation ==== | ||
| | | | ||
Move all selected group members to their default formation positions. | 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. | |||
| | |||
{{Icon|unchecked}} | |||
|- | |||
| | |||
==== LevelOutObjects ==== | ==== LevelOutObjects ==== | ||
| | | | ||
Orient all selected entities to sea normal. | Orient all selected entities to sea normal. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== LevelWithSurface ==== | ==== LevelWithSurface ==== | ||
| | | | ||
Orient all selected entities to terrain normal. | Orient all selected entities to terrain normal. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== MissionExportMP ==== | ==== MissionExportMP ==== | ||
| | | | ||
Export the scenario to multiplayer scenarios. | Export the scenario to multiplayer scenarios. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== MissionExportSP ==== | ==== MissionExportSP ==== | ||
| | | | ||
Export the scenario to scenario scenarios. | Export the scenario to scenario scenarios. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== MissionLoad ==== | ==== MissionLoad ==== | ||
| | | | ||
Show "Open Scenario" window. | Show "Open Scenario" window. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== MissionMerge ==== | |||
| | |||
Opens the merge UI. | |||
| | |||
{{Icon|unchecked}} | |||
|- | |||
| | |||
==== MissionNew ==== | ==== MissionNew ==== | ||
| | | | ||
Show "New Scenario" window. | Show "New Scenario" window. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== MissionPartIntro ==== | ==== MissionPartIntro ==== | ||
| | | | ||
Select ''Intro'' [[Eden Editor: Scenario Phases|phase]]. | Select ''Intro'' [[Eden Editor: Scenario Phases|phase]]. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== MissionPartMission ==== | ==== MissionPartMission ==== | ||
| | | | ||
Select ''Scenario'' [[Eden Editor: Scenario Phases|phase]]. | Select ''Scenario'' [[Eden Editor: Scenario Phases|phase]]. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== MissionPartOutroLoose ==== | ==== MissionPartOutroLoose ==== | ||
| | | | ||
Select ''Outro - Lose'' [[Eden Editor: Scenario Phases|phase]]. | Select ''Outro - Lose'' [[Eden Editor: Scenario Phases|phase]]. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== MissionPartOutroWin ==== | ==== MissionPartOutroWin ==== | ||
| | | | ||
Select ''Outro - Win'' [[Eden Editor: Scenario Phases|phase]]. | Select ''Outro - Win'' [[Eden Editor: Scenario Phases|phase]]. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== MissionPreview ==== | ==== MissionPreview ==== | ||
| | | | ||
Preview the scenario in singleplayer. | Preview the scenario in singleplayer. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== MissionPreviewBriefing ==== | ==== MissionPreviewBriefing ==== | ||
| | | | ||
Preview the scenario in singleplayer with briefing. | Preview the scenario in singleplayer with briefing. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== MissionPreviewMP ==== | ==== MissionPreviewMP ==== | ||
| | | | ||
Preview the scenario in multiplayer. | Preview the scenario in multiplayer. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== MissionSave ==== | ==== MissionSave ==== | ||
| | | | ||
Save the scenario. If it | Save the scenario. If it has not been saved yet, open "Save Scenario" window. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== MissionSaveAs ==== | ==== MissionSaveAs ==== | ||
| | | | ||
Open "Save Scenario" window. | 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 {{hl|OnMoveGridDecrease}} event. | |||
| | |||
{{Icon|unchecked}} | |||
|- | |||
| | |||
==== 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 {{hl|OnMoveGridIncrease}} event. | |||
| | |||
{{Icon|unchecked}} | |||
|- | |||
| | |||
==== MoveGridToggle ==== | ==== MoveGridToggle ==== | ||
| | | | ||
Toggle translation grid. | Toggle translation grid. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== OpenAttributes ==== | ==== OpenAttributes ==== | ||
| | | | ||
Open [[Eden Editor: Entity Attributes|attributes]] of selected entities. | Open [[Eden Editor: Entity Attributes|attributes]] of selected entities. | ||
| | | | ||
|- | |||
| | |||
==== OpenIntelDisplay ==== | |||
| | |||
Opens the Edit: Environment UI. | |||
| | |||
{{Icon|unchecked}} | |||
|- | |- | ||
| | | | ||
==== OpenRequiredAddons ==== | |||
| | |||
Opens the required addons UI. | |||
| | |||
{{Icon|unchecked}} | |||
|- | |||
| | |||
==== OpenSteamPublishDialog ==== | ==== OpenSteamPublishDialog ==== | ||
| | | | ||
Open Steam Publish Options window. | Open Steam Publish Options window. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== OptionsAudio ==== | ==== OptionsAudio ==== | ||
| | | | ||
Open Audio Options window. | Open Audio Options window. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== OptionsControls ==== | ==== OptionsControls ==== | ||
| | | | ||
Open Controls Options window. | Open Controls Options window. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== OptionsGame ==== | ==== OptionsGame ==== | ||
| | | | ||
Open Game Options window. | Open Game Options window. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== OptionsVideo ==== | ==== OptionsVideo ==== | ||
| | | | ||
Open Video Options window. | Open Video Options window. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== PasteUnit ==== | ==== PasteUnit ==== | ||
| | | | ||
Paste copied entities. The same as when you press Ctrl | Paste copied entities. The same as when you press {{Controls|Ctrl|V}}. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== PasteUnitOrig ==== | ==== PasteUnitOrig ==== | ||
| | | | ||
Paste copied entities on their original positions. The same as when you press Ctrl | Paste copied entities on their original positions. The same as when you press {{Controls|Ctrl|Shift|V}}. | ||
| | {{Feature|important|Keep in mind that ''Surface Snapping'' and the selected ''Vertical Mode'' will influence the positioning when pasting!}} | ||
| | |||
|- | |- | ||
| | | | ||
==== PublishCustomComposition ==== | |||
| | |||
Opens the Workshop Composition Management UI. At least one custom composition has to be selected in the asset browser (right panel). | |||
| | |||
{{Icon|unchecked}} | |||
|- | |||
| | |||
==== Redo ==== | ==== Redo ==== | ||
| | | | ||
Redo the undone operation. | Redo the undone operation. | ||
| | | | ||
|- | |||
| | |||
==== RestoreEditTreeExpansion ==== | |||
| | |||
Restores previous state of the nodes in the entity browser (left panel). | |||
| | |||
{{Icon|unchecked}} | |||
|- | |||
| | |||
==== 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 {{hl|OnRotateGridDecrease}} event. | |||
| | |||
{{Icon|unchecked}} | |||
|- | |||
| | |||
==== 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 {{hl|OnRotateGridIncrease}} event. | |||
| | |||
{{Icon|unchecked}} | |||
|- | |- | ||
| | | | ||
==== RotateGridToggle ==== | ==== RotateGridToggle ==== | ||
| | | | ||
Toggle rotation grid. | Toggle rotation grid. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== ScaleGridToggle ==== | ==== ScaleGridToggle ==== | ||
| | | | ||
Toggle area scaling grid. | Toggle area scaling grid. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== SearchCreate ==== | ==== SearchCreate ==== | ||
| | | | ||
Switch focus to [[Eden Editor: Asset Browser|asset browser]] search field. | Switch focus to [[Eden Editor: Asset Browser|asset browser]] search field. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== SearchEdit ==== | ==== SearchEdit ==== | ||
| | | | ||
Switch focus to entity list search field. | Switch focus to entity list search field. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== SelectAllOnScreen ==== | ==== SelectAllOnScreen ==== | ||
| | | | ||
Select all entities currently visible on the screen. | Select all entities currently visible on the screen. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== SelectGroupMode ==== | ==== SelectGroupMode ==== | ||
| | | | ||
Select the ''Compositions'' mode. The same as when you press F2. | Select the ''Compositions'' mode. The same as when you press {{Controls|F2}}. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== SelectLayerAllDescendants ==== | ==== SelectLayerAllDescendants ==== | ||
| | | | ||
Select all entities in selected layers and all sub-layers. | Select all entities in selected layers and all sub-layers. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== SelectLayerChildren ==== | ==== SelectLayerChildren ==== | ||
| | | | ||
Select all entities directly in selected layers. | Select all entities directly in selected layers. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== SelectMarkerMode ==== | ==== SelectMarkerMode ==== | ||
| | | | ||
Select the ''Markers'' mode. The same as when you press F6. | Select the ''Markers'' mode. The same as when you press {{Controls|F6}}. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== SelectModuleMode ==== | ==== SelectModuleMode ==== | ||
| | | | ||
Select the ''Systems'' mode. The same as when you press F5. | Select the ''Systems'' mode. The same as when you press {{Controls|F5}}. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== SelectObjectMode ==== | ==== SelectObjectMode ==== | ||
| | | | ||
Select the ''Objects'' mode. The same as when you press F1. | Select the ''Objects'' mode. The same as when you press {{Controls|F1}}. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== SelectSubmode1 ==== | ==== SelectSubmode1 ==== | ||
| | | | ||
Select the first sub-mode. Based on the selected mode; for example it | Select the first sub-mode. Based on the selected mode; for example it is ''BLUFOR'' when ''Objects'' mode is selected. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== SelectSubmode2 ==== | ==== SelectSubmode2 ==== | ||
| | | | ||
Select the second | Select the second submode. Based on the selected mode; for example it is ''OPFOR'' when ''Objects'' mode is selected. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== SelectSubmode3 ==== | ==== SelectSubmode3 ==== | ||
| | | | ||
Select the third sub-mode. Based on the selected mode; for example it | Select the third sub-mode. Based on the selected mode; for example it is ''Independent'' when ''Objects'' mode is selected. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== SelectSubmode4 ==== | ==== SelectSubmode4 ==== | ||
| | | | ||
Select the fourth sub-mode. Based on the selected mode; for example it | Select the fourth sub-mode. Based on the selected mode; for example it is ''Civilian'' when ''Objects'' mode is selected. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== SelectSubmode5 ==== | ==== SelectSubmode5 ==== | ||
| | | | ||
Select the fifth sub-mode. Based on the selected mode; for example it | Select the fifth sub-mode. Based on the selected mode; for example it is ''Props'' when ''Objects'' mode is selected. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== SelectSubmode6 ==== | ==== SelectSubmode6 ==== | ||
| | | | ||
Select the sixth sub-mode. Based on the selected mode; for example it | Select the sixth sub-mode. Based on the selected mode; for example it is ''Custom'' when ''Compositions'' mode is selected. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== SelectTriggerMode ==== | ==== SelectTriggerMode ==== | ||
| | | | ||
Select the ''Triggers'' mode. The same as when you press F3. | Select the ''Triggers'' mode. The same as when you press {{Controls|F3}}. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== SelectUnit ==== | ==== SelectUnit ==== | ||
| | | | ||
Select the entity under cursor. | Select the entity under cursor. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== SelectWaypointMode ==== | ==== SelectWaypointMode ==== | ||
| | | | ||
Select the ''Waypoints'' mode. The same as when you press F4. | Select the ''Waypoints'' mode. The same as when you press {{Controls|F4}}. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== SetFlyingHeight ==== | ==== SetFlyingHeight ==== | ||
| | | | ||
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. | ||
| | | | ||
|- | |||
| | |||
==== SetTriggerOwner ==== | |||
| | |||
Initializes the ''Set Trigger Owner'' action. Same as if selecting the option in the context menu. At least one trigger must be selected. | |||
| | |||
{{Icon|unchecked}} | |||
|- | |||
| | |||
==== SetWaypointActivation ==== | |||
| | |||
Initializes the ''Set Waypoint Activation'' action. Same as if selecting the option in the context menu. At least one waypoint must be selected. | |||
| | |||
{{Icon|unchecked}} | |||
|- | |- | ||
| | | | ||
==== SnapToSurface==== | ==== SnapToSurface==== | ||
| | | | ||
Snap selected entities to the ground. | Snap selected entities to the ground. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== SubmodeToggle ==== | ==== SubmodeToggle ==== | ||
| | | | ||
Toggle sub-mode (browse through all available ones). | Toggle sub-mode (browse through all available ones). | ||
| | | | ||
|- | |- | ||
| | | | ||
==== SurfaceSnapDisable ==== | ==== SurfaceSnapDisable ==== | ||
| | | | ||
Toggle surface snap off. | Toggle surface snap off. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== SurfaceSnapEnable ==== | ==== SurfaceSnapEnable ==== | ||
| | | | ||
Toggle surface snap on. | Toggle surface snap on. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== SurfaceSnapToggle ==== | ==== SurfaceSnapToggle ==== | ||
| | | | ||
Toggle surface snap on/off. | Toggle surface snap on/off. | ||
| | | {{Icon|checked}} | ||
|- | |||
| | |||
==== SyncWith ==== | |||
| | |||
Initializes the ''Synch With'' action. Same as if selecting the option in the context menu. At least syncable entity must be selected. | |||
| | |||
{{Icon|unchecked}} | |||
|- | |- | ||
| | | | ||
==== ToggleMap ==== | ==== ToggleMap ==== | ||
| | | | ||
Toggle map on/off. | Toggle map on/off. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== ToggleMapIDs ==== | ==== ToggleMapIDs ==== | ||
| | | | ||
Toggle map IDs on/off. | Toggle map IDs on/off. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== ToggleMapTextures ==== | ==== ToggleMapTextures ==== | ||
| | | | ||
Toggle map textures on/off. | Toggle map textures on/off. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== TogglePlaceEmptyVehicle ==== | ==== TogglePlaceEmptyVehicle ==== | ||
| | | | ||
Toggle place empty vehicles on/off. | Toggle place empty vehicles on/off. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== ToggleUnitSel ==== | ==== ToggleUnitSel ==== | ||
| | | | ||
Toggle entity selection on/off. | Toggle entity selection on/off. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== Undo ==== | ==== Undo ==== | ||
| | | | ||
Undo the last operation. | Undo the last operation. | ||
| | | | ||
|- | |||
| | |||
==== Unknown ==== | |||
| | |||
Engine placeholder. Not implemented. | |||
| | |||
{{Icon|unchecked}} | |||
|- | |- | ||
| | | | ||
==== VerticalASL ==== | ==== VerticalASL ==== | ||
| | | | ||
Set vertical mode to ASL (Above Sea Level). | Set vertical mode to ASL (Above Sea Level). | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== VerticalATL ==== | ==== VerticalATL ==== | ||
| | | | ||
Set vertical mode to ATL (Above Terrain Level). | Set vertical mode to ATL (Above Terrain Level). | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== VerticalToggle ==== | ==== VerticalToggle ==== | ||
| | | | ||
Toggle vertical mode. | Toggle vertical mode. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== WidgetArea ==== | ==== WidgetArea ==== | ||
| | | | ||
Toggle [[Eden_Editor:_Transformation_Widget|area widget]] on. | Toggle [[Eden_Editor:_Transformation_Widget|area widget]] on. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== WidgetCoord ==== | ==== WidgetCoord ==== | ||
| | | | ||
Toggle [[Eden_Editor:_Transformation_Widget|widget]] coordinate space between global and local. | Toggle [[Eden_Editor:_Transformation_Widget|widget]] coordinate space between global and local. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== WidgetNone ==== | ==== WidgetNone ==== | ||
| | | | ||
Toggle [[Eden_Editor:_Transformation_Widget|widget]] off. | Toggle [[Eden_Editor:_Transformation_Widget|widget]] off. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== WidgetRotation ==== | ==== WidgetRotation ==== | ||
| | | | ||
Toggle [[Eden_Editor:_Transformation_Widget|rotation widget]] on. | Toggle [[Eden_Editor:_Transformation_Widget|rotation widget]] on. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== WidgetScale ==== | ==== WidgetScale ==== | ||
| | | | ||
Toggle [[Eden_Editor:_Transformation_Widget|scaling widget]] on. | Toggle [[Eden_Editor:_Transformation_Widget|scaling widget]] on. | ||
| {{Icon|checked}} | |||
|- | |- | ||
| | | | ||
==== WidgetSpaceLocal ==== | ==== WidgetSpaceLocal ==== | ||
| | | | ||
Set [[Eden_Editor:_Transformation_Widget|widget]] coordinate space to local. | Set [[Eden_Editor:_Transformation_Widget|widget]] coordinate space to local. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== WidgetSpaceWorld ==== | ==== WidgetSpaceWorld ==== | ||
| | | | ||
Set [[Eden_Editor:_Transformation_Widget|widget]] coordinate space to global. | Set [[Eden_Editor:_Transformation_Widget|widget]] coordinate space to global. | ||
| | | | ||
|- | |- | ||
| | | | ||
==== WidgetToggle ==== | ==== WidgetToggle ==== | ||
| | | | ||
Toggle [[Eden_Editor:_Transformation_Widget|widget]] (browse through all available widget types). | Toggle [[Eden_Editor:_Transformation_Widget|widget]] (browse through all available widget types). | ||
| | | | ||
|- | |- | ||
| | | | ||
==== WidgetTranslation ==== | ==== WidgetTranslation ==== | ||
| | | | ||
Toggle [[Eden_Editor:_Transformation_Widget|translation widget]] on. | Toggle [[Eden_Editor:_Transformation_Widget|translation widget]] on. | ||
| {{Icon|checked}} | |||
|} | |} | ||
[[Category: Eden Editor: Modding|Actions]] | [[Category: Eden Editor: Modding|Actions]] |
Latest revision as of 22:43, 24 May 2024
Actions are engine operations used by Menu Bar and are available for scripting.
Perform an action:
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.
Action | Description | State |
---|---|---|
AddCustomConnection |
No implemented. Can only happen through context menu. |
|
AddRandomStart |
Initializes the Set Random Start action. Same as if selecting the option in the context menu. At least one marker must be selected. |
|
AddUnitToSel |
Add entity under cursor to selection, the same as when you press Ctrl + on an entity |
|
AddWaypoint |
Add quick waypoint to currently selected entities / groups. The same as when you press ⇧ Shift + . |
|
CenterCameraOnPlayer |
Move camera to player's position. |
|
ChangeSeat |
No implemented. Can only happen through context menu. |
|
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. |
|
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. |
|
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 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. |
|
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. |
|
MoveGridToggle |
Toggle translation grid. |
|
OpenAttributes |
Open attributes of selected entities. |
|
OpenIntelDisplay |
Opens the Edit: Environment UI. |
|
OpenRequiredAddons |
Opens the required addons UI. |
|
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. |
|
PublishCustomComposition |
Opens the Workshop Composition Management UI. At least one custom composition has to be selected in the asset browser (right panel). |
|
Redo |
Redo the undone operation. |
|
RestoreEditTreeExpansion |
Restores previous state of the nodes in the entity browser (left panel). |
|
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. |
|
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. |
|
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. |
|
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. |
|
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 sub-mode. Based on the selected mode; for example it is BLUFOR when Objects mode is selected. |
|
SelectSubmode2 |
Select the second submode. Based on the selected mode; for example it is OPFOR when Objects mode is selected. |
|
SelectSubmode3 |
Select the third sub-mode. Based on the selected mode; for example it is Independent when Objects mode is selected. |
|
SelectSubmode4 |
Select the fourth sub-mode. Based on the selected mode; for example it is Civilian when Objects mode is selected. |
|
SelectSubmode5 |
Select the fifth sub-mode. Based on the selected mode; for example it is Props when Objects mode is selected. |
|
SelectSubmode6 |
Select the sixth sub-mode. Based on the selected mode; for example it is Custom when Compositions 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. |
|
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. |
|
SetWaypointActivation |
Initializes the Set Waypoint Activation action. Same as if selecting the option in the context menu. At least one waypoint must be selected. |
|
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. |
|
SyncWith |
Initializes the Synch With action. Same as if selecting the option in the context menu. At least syncable entity must be selected. |
|
ToggleMap |
Toggle map on/off. |
|
ToggleMapIDs |
Toggle map IDs on/off. |
|
ToggleMapTextures |
Toggle map textures on/off. |
|
TogglePlaceEmptyVehicle |
Toggle place empty vehicles on/off. |
|
ToggleUnitSel |
Toggle entity selection on/off. |
|
Undo |
Undo the last operation. |
|
Unknown |
Engine placeholder. Not implemented. |
|
VerticalASL |
Set vertical mode to ASL (Above Sea Level). |
|
VerticalATL |
Set vertical mode to ATL (Above Terrain Level). |
|
VerticalToggle |
Toggle vertical mode. |
|
WidgetArea |
Toggle area widget on. |
|
WidgetCoord |
Toggle widget coordinate space between global and local. |
|
WidgetNone |
Toggle widget off. |
|
WidgetRotation |
Toggle rotation widget on. |
|
WidgetScale |
Toggle 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. |