Represents static object added in the Mission Editor. Extends CoalitionObject. Final class.
Identifier of a static object. It is assigned to a static object by the Mission Editor automatically.
StaticObject.Desc = Unit.Desc
Descriptor of StaticObject and Unit are equal. StaticObject is just a passive variant of Unit.
StaticObject function StaticObject.getByName(string name)
returns static object by its name. If no static object found nil will be returned.
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 of static object to find.