DCS func getTypeName
From DCS World Wiki - Hoggitworld.com
Envrioment: | Mission Scripting | ||
Function: | getTypeName | Added with: 1.2.0 | |
Member Of: | Object | ||
Syntax: | string Object.getTypeName(Class Self ) | ||
Description: | Return a string of the objects type name.
Function also works with Unit, Weapon, Static Object, Scenery Object, Airbase
| ||
Return Value: | string | ||
Return Example: | "A-10C", "KA-50", "BTR-80" | ||
Examples: | |||
Related Functions: | Object Functions: isExist, destroy, getCategory, getTypeName, getDesc, hasAttribute, getName, getPoint, getPosition, getVelocity, inAir | ||
Notes: | Some objects, namely static and scenery objects may return the name of the 3d model used to render the object. |