Jump to content

RemoveItem

From CMM Wiki
Revision as of 14:15, 10 February 2026 by Ozdeadmeat (talk | contribs) (RemoveItem – created via PowerShell script (2026-02-11T01:15:41Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: