Jump to content

RemoveItem

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: RemoveItem
Function Description: This function will remove an item type of a specified quantity to the supplied Warehouse
File Location: cmm.AirBaseFunctions.lua
Syntax: CMM.RemoveItem( table WH , string ItemType , number Value )
Return Value: boolean
Parameters: Name Description
WHWarehouse Object
ItemTypeItemType Name
ValueAmount of item to add
Example: CMM.AddItem(Airbase.getByName("Sochi-Adler"),tostring("weapons.missiles.AGM_114K"), 5)
Example Description:
Related Functions:
Notes: