Jump to content

IsCargo

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (IsCargo – created via PowerShell script (2025-11-11T21:12:04Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
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
ObjStatic 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: