Avorion Script API Documentation

DockingParent

function DockingParent(var id)

Parameters

id The id of the entity this component belongs to, or the entity itself, must be an id of an existing entity or nil for the entity in the current script context

Returns

A new instance of DockingParent

property bool dockable
property bool hasLastDockingInfo[read-only]
property Uuid id[read-only]
property var lastDockingByAIFaction[read-only]
property var lastDockingByAlliance[read-only]
property var lastDockingByPlayer[read-only]
property var lastDockingFaction[read-only]
property Uuid lastDockingParent[read-only]
property Matrix localOrientation[read-only]
property vec3 localPosition[read-only]
property Matrix localWorld[read-only]

function var addAutoUndockException(int entityType)

Returns

nothing

function int... getAutoUndockExceptions()

function bool hasAutoUndockException(int entityType)

function var removeAutoUndockException(int entityType)

Returns

nothing

function bool undock()

Undocks the Entity (dockee) from its parent.

Returns

true if it was docked, false otherwise

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