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