Difference between revisions of "DCS Class Warehouse"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:DCSscriptingClasses |cName= Warehouse |vNum= 2.8.8 |xVar= none |inVar= Maybe Airbase* |desc= The warehouse class gives control over warehouses that exist in air...")
 
 
Line 11: Line 11:
  
 
|type=  
 
|type=  
 +
 +
liquid types
 +
0    : jetfuel
 +
1    : Aviation gasoline
 +
2    : MW50
 +
3    : Diesel
 +
 
   
 
   
  

Latest revision as of 17:58, 16 August 2023

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: