Jump to content

RemoveItemByAirbase

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