Avorion Script API Documentation

FighterAI

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

property bool circling[read-only]
property bool clearFeedbackEachTick
property Entity entity[read-only]
property uuid entityId[read-only]
property bool evading[read-only]
property bool ignoreMothershipOrders
property Uuid mothershipId[read-only]
property FighterOrders orders[read-only]
property bool reachedTarget[read-only]
property unsigned int squad[read-only]
property uuid target[read-only]

function var clearFeedback()

Returns

nothing

function Entity getMothership()

function var setOrders(FighterOrders orders, Uuid target)

Returns

nothing

function var setSquad(int squadIndex, Uuid squadId)

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