Difference between revisions of "DCS Class Warehouse"

From DCS World Wiki - Hoggitworld.com
 
Line 23: Line 23:
 
|staticFuncs= [[DCS_func_getByName|Warehouse.getByName]]
 
|staticFuncs= [[DCS_func_getByName|Warehouse.getByName]]
 
[[DCS_func_getResourceMap|Warehouse.getResourceMap]]
 
[[DCS_func_getResourceMap|Warehouse.getResourceMap]]
 
+
[[DCS_func_getCargoAsWarehouse|Warehouse.getCargoAsWarehouse]]
  
 
|memberFuncs= {{listOfScriptingWarehouseFuncs}}
 
|memberFuncs= {{listOfScriptingWarehouseFuncs}}

Latest revision as of 04:33, 12 July 2024

Scripting Root

Class Name: Warehouse Added with: 2.8.8
Extends: none
Inherits: Maybe Airbase*
Description: The warehouse class gives control over warehouses that exist in airbase objects. These warehouses can limit the aircraft, munitions, and fuel available to coalition aircraft.
Member Functions: addItem, getItemCount, setItem, removeItem, addLiquid, getLiquidAmount, setLiquidAmount, removeLiquid, getOwner, getInventory
Obtained Via: Static Functions Functions Events
Warehouse.getByName

Warehouse.getResourceMap Warehouse.getCargoAsWarehouse

Airbase.getWarehouse
Enumerator Types: liquid types
0    : jetfuel
1    : Aviation gasoline
2    : MW50
3    : Diesel
Description Table Structure:
Notes: