Module DCS.DCSAirbase

Global(s)

Global Airbase

Type(s)

Extends Dcs.DCSCoalitionWrapper.Object#CoalitionObject

Represents airbases: airdromes, helipads and ships with flying decks or landing pads.

Field(s)

#Airbase.Category Airbase.Category

enum contains identifiers of airbase categories.

#Airbase.Desc Airbase.Desc

Airbase descriptor. Airdromes are unique and their types are unique, but helipads and ships are not always unique and may have the same type.

#Airbase.ID Airbase.ID

Identifier of an airbase. It assigned to an airbase by the Mission Editor automatically. This identifier is used in AI tasks to refer an airbase that exists (spawned and not dead) or not.

Function(s)

Returns airbase by its name.

If no airbase found the function will return nil.

Parameter:
#string name

Return value:

#Airbase:

Returns the airbase's callsign - the localized string.

Return value:

string:

Returns descriptor of the airbase.

Return value:

#Airbase.Desc:

Returns airbase descriptor by type name.

If no descriptor is found the function will return nil.

Parameter:
#TypeName typeName

Airbase type name.

Return value:

#Airbase.Desc:

Returns identifier of the airbase.

Return value:

#Airbase.ID:

Returns Unit that is corresponded to the airbase.

Works only for ships.

Return value:

Wrapper.Unit#Unit:

Enum contains identifiers of airbase categories.

Field(s)

Function(s)

Extends #Desc

Airbase descriptor.

Airdromes are unique and their types are unique, but helipads and ships are not always unique and may have the same type.

Field(s)

#Airbase.Category Airbase.Desc.category

Category of the airbase type.

Function(s)