Difference between revisions of "DCS func removeLiquid"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:dcs_funcs |fName= removeLiquid |vNum= 2.8.8 |par1= Warehouse |par2= |par3= |par4= |desc= Removes the set amount of liquid from the...")
 
 
Line 48: Line 48:
 
|notes=  
 
|notes=  
 
}}
 
}}
[[Category:Class Functions|getLiquidAmount]]
+
[[Category:Class Functions|removeLiquid]]
[[Category:Game Patch 2.8.8|getLiquidAmount]]
+
[[Category:Game Patch 2.8.8|removeLiquid]]

Latest revision as of 19:06, 16 August 2023

Scripting Root

Envrioment: Mission Scripting
Function: removeLiquid Added with: 2.8.8
Member Of: Warehouse
Syntax: Warehouse.removeLiquid(class self , number liquidType , number count )
Description: Removes the set amount of liquid from the inventory in a warehouse.
0    : jetfuel
1    : Aviation gasoline
2    : MW50
3    : Diesel


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