Eden Editor Event Handlers – Arma 3

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "Eden Editor event handlers. When added, they will remain until Eden Editor is closed. Playing preview will not erase them. == Scripting == Commands: * add3DENEventHandl...")
 
mNo edit summary
Line 1: Line 1:
__NOEDITSECTION__
[[Eden Editor]] event handlers. When added, they will remain until Eden Editor is closed. Playing preview will not erase them.
[[Eden Editor]] event handlers. When added, they will remain until Eden Editor is closed. Playing preview will not erase them.


Line 32: Line 33:
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnMissionNew ====
==== OnConnectingStart ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnTerrainNew ====
==== OnConnectingEnd ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnMissionLoad ====
==== OnCopy ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnMissionSave ====
==== OnCut ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnMissionSaveAs ====
==== OnDeleteUnits ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnUndo ====
==== OnGridChange ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnRedo ====
==== OnMapClosed ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnCut ====
==== OnMapOpened ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnCopy ====
==== OnMessage ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnPaste ====
==== OnMissionLoad ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnPasteUnitOrig ====
==== OnMissionNew ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnDeleteUnits ====
==== OnMissionPreview ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnWidgetToggle ====
==== OnMissionPreviewEnd ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnWidgetNone ====
==== OnMissionSave ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnWidgetTranslation ====
==== OnMissionSaveAs ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnWidgetRotation ====
==== OnModeChange ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnWidgetScale ====
==== OnMoveGridDecrease ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnMoveGridToggle ====
==== OnMoveGridIncrease ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnMoveGridDecrease ====
==== OnMoveGridToggle ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnMoveGridIncrease ====
==== OnPaste ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnRotateGridToggle ====
==== OnPasteUnitOrig ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnRotateGridDecrease ====
==== OnRedo ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnRotateGridIncrease ====
==== OnRotateGridDecrease ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnScaleGridToggle ====
==== OnRotateGridIncrease ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnGridChange ====
==== OnRotateGridToggle ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnVerticalToggle ====
==== OnScaleGridToggle ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnSurfaceSnapToggle ====
==== OnSearchCreate ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnWorkspacePartSwitch ====
==== OnSearchEdit ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnModeChange ====
==== OnServerToggle ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
Line 182: Line 183:
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnMapOpened ====
==== OnSurfaceSnapToggle ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnMapClosed ====
==== OnTerrainNew ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnMissionPreview ====
==== OnToggleMapIDs ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnMissionPreviewEnd ====
==== OnToggleMapTextures ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnToggleMapTextures ====
==== OnUndo ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnToggleMapIDs ====
==== OnVerticalToggle ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnMessage ====
==== OnWidgetNone ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnSearchCreate ====
==== OnWidgetRotation ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnSearchEdit ====
==== OnWidgetScale ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnConnectingStart ====
==== OnWidgetToggle ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnConnectingEnd ====
==== OnWidgetTranslation ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->
|-
|-
| <!-- Title -->
| <!-- Title -->
==== OnServerToggle ====
==== OnWorkspacePartSwitch ====
| <!-- Description -->
| <!-- Description -->
| <!-- Arguments -->
| <!-- Arguments -->

Revision as of 13:53, 2 November 2015

Eden Editor event handlers. When added, they will remain until Eden Editor is closed. Playing preview will not erase them.

Scripting

Commands:

Example:

add3DENEventHandler ["onUndo",{hint "Undo";}]

Config

Alternatively, you can define event handlers directly in the config. Use your custom section (mySection in the example) to prevent overriding handlers from other sources. Handlers defined here will be added automatically when Eden Editor is opened.

class Cfg3DEN
{
	class EventHandlers
	{
		class mySection
		{
			onUndo = "hint 'Undo';";
			// <handlerName> = <handlerExpression>
		};
	};
};

List

Class Description Arguments

OnConnectingStart

OnConnectingEnd

OnCopy

OnCut

OnDeleteUnits

OnGridChange

OnMapClosed

OnMapOpened

OnMessage

OnMissionLoad

OnMissionNew

OnMissionPreview

OnMissionPreviewEnd

OnMissionSave

OnMissionSaveAs

OnModeChange

OnMoveGridDecrease

OnMoveGridIncrease

OnMoveGridToggle

OnPaste

OnPasteUnitOrig

OnRedo

OnRotateGridDecrease

OnRotateGridIncrease

OnRotateGridToggle

OnScaleGridToggle

OnSearchCreate

OnSearchEdit

OnServerToggle

OnSubmodeChange

OnSurfaceSnapToggle

OnTerrainNew

OnToggleMapIDs

OnToggleMapTextures

OnUndo

OnVerticalToggle

OnWidgetNone

OnWidgetRotation

OnWidgetScale

OnWidgetToggle

OnWidgetTranslation

OnWorkspacePartSwitch