editorSetEventHandler – Talk

From Bohemia Interactive Community
Revision as of 22:36, 5 November 2010 by HeliJunkie (talk | contribs) (spell)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Figured out some more eventhandler and infos:

Event Fired Notes and Parameters
SelectObject Select object with left mouse button _this array: [mapControl <control>, Variable-Name <string>, EditorObject <object>]

Does not fire if you select multiple objects with dragging a square around them!

MouseOver Mouse pointer over an object (Map or ObjectTree!). _this array: [mapControl <control>, Variable-Name <string>, EditorObject <object>].
If mouse leaves object it will also be fired and _this array: [mapControl, "", <NULL-Object>]
RestartCamera EditorCamera was restarted (by button or by scriptcommand restartEditorCamera) _this array: [mapControl <control>]
not verified, but maybe valid
CloseOverlay
EditOverlay

--HeliJunkie 21:26, 5 November 2010 (CET)