Page tree
Skip to end of metadata
Go to start of metadata

Change position and zoom factor of dialog or editor maps.

The RTE editor map is only available when the editor is open,
and is available under the global variable "map", or ((findDisplay 137) displayCtrl 51).
The OME map can be accessed via ((findDisplay 128) displayCtrl 51).

To detect whether the editor is open, a editorLoad.2C editorUnload can be used:

["editorLoad","[] execVM 'myMapScript.sqf'"] call fn_vbs_addSysEventHandler;

Interactions - User Dialogs - Maps Commands