Map commands - Hotride/OrionUO GitHub Wiki

Command format:

ReturnType NameSpace.name(requiredParameters, [optionalParameters=defaultValue]);

  • ReturnType - the return value of the function (void - the function returns nothing);

  • NameSpace - the scope of the function;

  • name - the name of the function;

  • requiredParameters - required parameters;

  • optionalParameters - optional parameters, the default value is indicated after the = sign


void Orion.OpenOrionMap([x, y]);

Opens Orion map.

If x and y were defined, moves map window to given screen coordinates.


void Orion.MoveOrionMap(x, y);

Moves map to given screen coordinates.


void Orion.CloseOrionMap();

Close Orion map.


void Orion.OpenEnhancedMap(['filePath']);

Opens Enchanced Map at 'filePath' (for example "D:\Games\UO\EnhancedMap.exe").

If 'filePath' wasn't defined, tries to open from a default location /Map/EnhancedMap.exe'

⚠️ **GitHub.com Fallback** ⚠️