DCS func getCargoDisplayName
From DCS World Wiki - Hoggitworld.com
Envrioment: | Mission Scripting | ||
Function: | getCargoDisplayName | Added with: 1.2.10 | |
Member Of: | Static Object | ||
Syntax: | string Static Object.getCargoDisplayName(Class Self ) | ||
Description: | Returns a string of a cargo objects mass in the format ' mass kg'
| ||
Return Value: | string | ||
Return Example: | 1500 kg | ||
Examples: | |||
Related Functions: | Object Functions: isExist, destroy, getCategory, getTypeName, getDesc, hasAttribute, getName, getPoint, getPosition, getVelocity, inAir | ||
Notes: | Can't be used to check IF an object is a cargo object. As of 1.2.16.38741 the simulator will crash if this function is passed a non cargo static object. |