Module StaticObject

Global(s)

Global StaticObject

Type(s)

Represents static object added in the Mission Editor.

Field(s)

#StaticObject.Desc StaticObject.Desc

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

#StaticObject.ID StaticObject.ID

Identifier of a StaticObject. It assigned to an StaticObject by the Mission Editor automatically.

Function(s)

Returns static object by its name.

If no static object found nil will be returned.

Parameter:
#string name

Name of static object to find.

Return value:

#StaticObject:

Returns descriptor of the StaticObject.

Return value:

#StaticObject.Desc:

returns identifier of the static object.

Return value:

#StaticObject.ID: