Difference between revisions of "DCS func getWarehouse"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:dcs_funcs |fName= getWarehouse |vNum= 2.8.8 |par1= Airbase |par2= |par3= |par4= |desc= Returns the warehouse object associated with t...")
 
(No difference)

Latest revision as of 17:43, 16 August 2023

Scripting Root

Envrioment: Mission Scripting
Function: getWarehouse Added with: 2.8.8
Member Of: Airbase
Syntax: Warehouse Airbase.getWarehouse(Class self )
Description: Returns the warehouse object associated with the airbase object. Can then be used to call the warehouse class functions to modify the contents of the warehouse.


Return Value: Warehouse
Return Example:
Examples:
Related Functions: Warehouse Functions: addItem, getItemCount, setItem, removeItem, addLiquid, getLiquidAmount, setLiquidAmount, removeLiquid, getOwner, getInventory
Notes: