Jump to content

SetLiquidByAirbase

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: setLiquidByAirbase
Function Description: This function sets a fuel type at an Airbase Warehouse to a specified value
File Location: cmm.AirBaseFunctions.lua
Syntax: CMM.setLiquidByAirbase( table AB , number FuelType , number Value )
Return Value: nil
Parameters: Name Description
ABAirbase Object or Airbase name string or AirbaseID #
FuelTypeFuelType ID
ValueValue of setItem
Example: CMM.setLiquidByAirbase("Kutasi",0,50000)
Example Description:
Related Functions:
Notes: