DCS func getWarehouse

From DCS World Wiki - Hoggitworld.com
Revision as of 17:43, 16 August 2023 by Grimes (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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: