Avorion Script API Documentation

Boarding

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

property bool boardable
property int boardingFaction[read-only]
property double defenseLevel
property Entity entity[read-only]
property uuid entityId[read-only]
property int foughtRounds[read-only]
property int numDefenseWeaponsCurrentAttack[read-only]
property int simultaneousFighters[read-only]
property float undealtDamageBoarders[read-only]
property float undealtDamageDefenders[read-only]

function var applyBoardingSuccessful(int attackingFaction)

Returns

nothing

function float getBoarderHealth()

function float getBoarderPower()

function table<int, unsigned int> getBoarders()

function float getDefenderHealth()

function float getDefenderPower()

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