Classes#

Classes represent DCS World entities and concepts that can have multiple instances, in contrast with the single-instance Global Singletons. Objects (“instances”) of a class are typically obtained via a class’s static functions (e.g. Group.getByName()), from another API call, or from an event table’s fields (e.g. event.initiator).

Class Hierarchy#

Object
  SceneryObject
  CoalitionObject
    Unit
    Airbase
    Weapon
    StaticObject
    Group
  Controller
  Spot
  Warehouse

A subclass inherits every member function of its parents; for example, every Unit is also a CoalitionObject and an Object, so unit:getName() (from Object) and unit:getCoalition() (from CoalitionObject) are both valid alongside Unit’s own member functions.

See the following pages for details: