Module DCS.DCSObject

Global(s)

Global Object

Type(s)

Function(s)

Returns object descriptor.

Return value:

#Object.Desc:

Returns name of the object.

This is the name that is assigned to the object in the Mission Editor.

Return value:

string:

Returns object coordinates for current time.

Return value:

#Vec3:

Returns object position for current time.

Return value:

#Position3:

Returns type name of the Object.

Return value:

string:

Returns the unit's velocity vector.

Return value:

#Vec3:

Returns true if the object belongs to the category.

Parameter:
#AttributeName attributeName

Attribute name to check.

Return value:

boolean:

Returns true if the unit is in air.

Return value:

boolean:

Return value:

boolean:

Field(s)

Function(s)

Extends #Desc

Field(s)

#Box3 Object.Desc.box

bounding box of collision geometry

#number Object.Desc.life

initial life level

Function(s)