Jump to content

SetItemByAirbase

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