Go to documentation repository
Page History
...
Command | Parameters | Description |
SET_TOPMOST—Set topmost | - | - |
SET_NOTOPMOST—Cancel topmost | - | - |
HIDE_OBJECT—Hide/show object icon on the map | objtype<> | Object type. Can be left empty. If the object type is not set, then objects of all types are hidden/shown |
objid<> | Object ID. Can be left empty. If the object ID is not set, then all objects of the specified type are hidden/shown | |
hide<> | 0—objects are shown on the map 1—objects are hidden on the map | |
SET_OBJECT_GEOMETRY—Set object location on the map | objtype<> | Object type |
objid<> | Object ID | |
x<> | New coordinate of the top left corner of the object icon on the map layer along the X axis in pixels | |
y<> | New coordinate of the top left corner of the object icon on the map layer along the Y axis in pixels | |
exclude_children<> | By default, when using the SET_OBJECT_GEOMETRY reaction, when moving the object icons, the names of these objects (child objects) also move. If you pass the exclude_children <1> parameter in the reaction, then the object is moved separately from the children, that is, without their names | |
INSCRIBE—Inscribe to window | - | - |
SHOW_MINIMAP—Show a minimap | x<> | The coordinate of the top left corner of the minimap along the X axis in pixels |
y<> | The coordinate of the top left corner of the minimap along the Y axis in pixels | |
w<> | Width of the minimap in pixels | |
h<> | Height of the minimap in pixels | |
monitor<> | Monitor ID | |
slave_id<> | Computer network name | |
SET_ZOOM—Change the Map scale | zoom<> | Map scale ratio |
ACTIVATE_OBJECT—Activate object on the Map | obj_type<> | Object type |
obj_id<> | Object ID | |
layer<> | Map layer ID. If the parameter is set, the script will work on the specified layer. If the parameter is not set, the scrip will work on the current layer | |
DRAW_ARROW—Draw a track of movement between objects | first_obj_type<> | Type of the object from which a track will be made |
first_obj_id<> | ID of the object from which a track will be made | |
second_obj_type<> | Type of the object to which a track will be made | |
second_obj_id<> | ID of the object to which a track will be made | |
obj_id<> | ID of the created track | |
ERASE_ARROW—Erase a track of movement between objects | obj_id<> | ID of the track that should be erased. If you don't specify the parameter, all tracks will be erased |
Features of the DRAW_ARROW command implementationexecution:
- When executing the command, a track will be displayed on each layer of the Map as arrows between the objects.
- If the objects are located on the same layer, the arrow is drawn directly between the specified objects. If the objects are located on different layers, the arrow is drawn by the shortest path.
- If
- it isn't possible to make a track,
- one of the objects doesn't exist,
- it is possible to make a track, but the arrows cannot be displayed,
...