DCS Class Warehouse

From DCS World Wiki - Hoggitworld.com
Revision as of 17:58, 16 August 2023 by Grimes (talk | contribs)

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

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