AddItemByAirbase
Appearance
| 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 |
| AB | Airbase Object | |
| ItemType | ItemType Name | |
| Value | Amount of item to add | |
| Example: | CMM.addItemByAirbase(Airbase.getByName("Sochi-Adler"),tostring("weapons.missiles.AGM_114K"), 5) | |
| Example Description: | ||
| Related Functions: | ||
| Notes: | ||