Avorion Script API Documentation

GalaxyMap

This object is only available on the client.

function GalaxyMap()

Returns

A new instance of GalaxyMap

property bool showAllianceInfo
property bool showCustomColorLayer
property bool showFactionLayer
property bool showGates
property bool showNotes
property bool showWormholes
property bool visible[read-only]

function var clearCustomColors()

Returns

nothing

function UIContainer createContainer()

function Window createWindow(Rect rect)

function int, int getCoordinatesAtScreenPosition(vec2 coordinates)

function float, float getCoordinatesScreenPosition(ivec2 coordinates)

function int, int getHoveredCoordinates()

function int, int getSelectedCoordinates()

function float, float getSelectedCoordinatesScreenPosition()

function var hide()

Returns

nothing

function var lookAt(int x, int y)

Returns

nothing

function var resetTransitArea()

Returns

nothing

function var setCustomColors()

Returns

nothing

function var setSelectedCoordinates(int x, int y)

Returns

nothing

function var setTransitArea(ivec2 center, float radius, bool canPassBlocked)

Returns

nothing

function var show(int x, int y)

Returns

nothing

Overview
Home Functions Search
Search:

This is the official documentation for the scripting API of Avorion. This documentation is automatically generated and not necessarily complete. Depending on the context in which functions exist, some documentation such as descriptions, return values or variable names or types may be missing.

Work in Progress. Documentation of Avorion Version: 1.0 r22021 59065310fc1a