Avorion Script API Documentation

TurretBases TurretBases

Properties

Member Functions
getDesigns
setDesign
setDesigns

TurretBases

function TurretBases(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 TurretBases

function table<int, TurretDesign> getDesigns()

Returns a table with all turret designs. This table stores the turret base block index as a key and the design as its value.

function var setDesign(var index, TurretDesign design)

Returns

nothing

function var setDesigns(table_t designs)

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