DCS func getLiquidAmount

From DCS World Wiki - Hoggitworld.com
Revision as of 18:05, 16 August 2023 by Grimes (talk | contribs) (Created page with "{{Template:dcs_funcs |fName= getLiquidAmount |vNum= 2.8.8 |par1= Warehouse |par2= |par3= |par4= |desc= Returns the amount of the passed liquid...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Scripting Root

Envrioment: Mission Scripting
Function: getLiquidAmount Added with: 2.8.8
Member Of: Warehouse
Syntax: number Warehouse.getLiquidAmount(class self , number liquidType , number count )
Description: Returns the amount of the passed liquid type within a given warehouse.
0    : jetfuel
1    : Aviation gasoline
2    : MW50
3    : Diesel


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