StaticObject

Home > Support > Technical questions > DCS: World Scripting Engine > Part 2 > Classes > StaticObject

StaticObject

StaticObject

Represents static object added in the Mission Editor. Extends CoalitionObject. Final class.

Types

 StaticObject.ID

Identifier of a static object. It is assigned to a static object by the Mission Editor automatically.

Structures

 StaticObject.Desc = Unit.Desc

Descriptor of StaticObject and Unit are equal. StaticObject is just a passive variant of Unit.

Static functions:

 StaticObject function StaticObject.getByName(string name)

returns static object by its name. If no static object found nil will be returned.

Member functions:

 StaticObject.ID function StaticObject.getID(StaticObject self)

returns identifier of the static object.

 StaticObject.Desc StaticObject.getDesc(StaticObject self)

return descriptor of the static object.

name

  • Name of static object to find.

FOLLOW US