Difference between revisions of "DCS func addLiquid"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:dcs_funcs |fName= addLiquid |vNum= 2.8.8 |par1= Warehouse |par2= |par3= |par4= |desc= Adds the passed amount of a liquid fuel into...")
 
(No difference)

Latest revision as of 18:02, 16 August 2023

Scripting Root

Envrioment: Mission Scripting
Function: addLiquid Added with: 2.8.8
Member Of: Warehouse
Syntax: nothing Warehouse.addLiquid(class self , number liquidType , number count )
Description: Adds the passed amount of a liquid fuel into the warehouse inventory
0    : jetfuel
1    : Aviation gasoline
2    : MW50
3    : Diesel


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