Avorion Script API Documentation

SectorView

function SectorView()

This is the default constructor of SectorView. No further arguments are required.

Returns

A new instance of SectorView

property bool deathLocation
property int factionIndex
property bool hasContent[read-only]
property float influence
property bool manuallyTagged
property string name
property NamedFormat note
property int numAsteroids
property int numShips
property int numStations
property int numWrecks
property string tagIconPath
property double timeStamp
property bool visited[read-only]

function float calculateInfluence(int stations)

function int, int getCoordinates()

function table<int, int> getCraftsByFaction()

function table<string, string> getCustomEntries()

function ivec2... getGateDestinations()

function table<int, int> getShipsByFaction()

function table<int, int> getStationsByFaction()

function NamedFormat... getStationTitles()

function ivec2... getWormHoleDestinations()

function var setCoordinates(int x, int y)

Returns

nothing

function var setCraftsByFaction(int_map_type in)

Returns

nothing

function var setCustomEntry(string key, string line)

Returns

nothing

function var setGateDestinations()

Returns

nothing

function var setShipsByFaction(int_map_type in)

Returns

nothing

function var setStationsByFaction(int_map_type in)

Returns

nothing

function var setStationTitles()

Returns

nothing

function var setWormHoleDestinations()

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: 2.5.7 c8e4beec84f7