RemoveItem
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | RemoveItem | |
| Function Description: | This function will remove an item type of a specified quantity to the supplied Warehouse | |
| File Location: | cmm.AirBaseFunctions.lua | |
| Syntax: | CMM.RemoveItem( table WH , string ItemType , number Value ) | |
| Return Value: | boolean | |
| Parameters: | Name | Description |
| WH | Warehouse Object | |
| ItemType | ItemType Name | |
| Value | Amount of item to add | |
| Example: | CMM.AddItem(Airbase.getByName("Sochi-Adler"),tostring("weapons.missiles.AGM_114K"), 5) | |
| Example Description: | ||
| Related Functions: | ||
| Notes: | ||