Eden Editor Event Handlers – Arma 3
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 --> | ||
==== | ==== OnConnectingStart ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnConnectingEnd ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnCopy ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnCut ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnDeleteUnits ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnGridChange ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnMapClosed ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnMapOpened ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnMessage ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnMissionLoad ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnMissionNew ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnMissionPreview ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnMissionPreviewEnd ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnMissionSave ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnMissionSaveAs ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnModeChange ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnMoveGridDecrease ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnMoveGridIncrease ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnMoveGridToggle ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnPaste ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnPasteUnitOrig ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnRedo ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnRotateGridDecrease ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnRotateGridIncrease ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnRotateGridToggle ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnScaleGridToggle ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnSearchCreate ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnSearchEdit ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnServerToggle ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
Line 182: | Line 183: | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnSurfaceSnapToggle ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnTerrainNew ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnToggleMapIDs ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnToggleMapTextures ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnUndo ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnVerticalToggle ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnWidgetNone ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnWidgetRotation ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnWidgetScale ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnWidgetToggle ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== OnWidgetTranslation ==== | ||
| <!-- Description --> | | <!-- Description --> | ||
| <!-- Arguments --> | | <!-- Arguments --> | ||
|- | |- | ||
| <!-- Title --> | | <!-- Title --> | ||
==== | ==== 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 |