Jump to content

IsWarehouse

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: IsWarehouse
Function Description: Checks whether the supplied table represents a valid DCS warehouse object.
File Location: cmm.DCSFunctions.lua
Syntax: CMM.IsWarehouse( table WareH )
Return Value:
Parameters: Name Description
WareHWarehouse Object table
Example: local isWh = CMM.IsWarehouse(Airbase.getByName("Akrotiri"):getWarehouse())
Example Description: Returns true if the argument is a warehouse; otherwise false.
Related Functions:
Notes: