Jump to content

AddItemByAirbase

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