IsCargo
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | IsCargo | |
| Function Description: | Determines whether the supplied object is a cargo object. | |
| File Location: | cmm.DCSFunctions.lua | |
| Syntax: | CMM.IsCargo( table Obj ) | |
| Return Value: | ||
| Parameters: | Name | Description |
| Obj | Static Object (cargo) | |
| Example: | local isCargo = CMM.IsCargo(StaticObject.getByName("AmmoCargo")) | |
| Example Description: | Returns true if the argument is a cargo unit; otherwise false. | |
| Related Functions: | ||
| Notes: | ||