Difference between revisions of "DCS Class Airbase"

From DCS World Wiki - Hoggitworld.com
m (1 revision imported)
(No difference)

Revision as of 00:12, 12 April 2018

Scripting Root

Class Name: Airbase Added with: 1.2.4
Extends: none
Inherits: Object, Coalition Object
Description: Represents airbases: airdromes, helipads and ships with flying decks or landing pads.
Member Functions: getCallsign, getUnit, getID, getCategoryEx, getParking, getRunways, getTechObjectPos, getDispatcherTowerPos, getRadioSilentMode, setRadioSilentMode, autoCapture, autoCaptureIsOn, setCoalition, getWarehouse,

Inherited from Object Class: isExist, destroy, getCategory, getTypeName, getDesc, hasAttribute, getName, getPoint, getPosition, getVelocity, inAir

Inherited from Coalition Object Class: getCoalition, getCountry

Obtained Via: Static Functions Functions Events
Airbase.getByName

Airbase.getDescByName

coalition.getAirbases takeoff, land, base_captured

For ships: shot, hit, dead, birth, shooting_start, shooting_end

Enumerator Types: Airbase.Category enumerator that stores types of airbases by category.
Airbase.Category = {
  AIRDROME,
  HELIPAD,
  SHIP
Description Table Structure: Airbase Description Table
Airbase.Desc = extends Desc {
  category = Airbase.Category
}
Notes: