Jump to content

MarkerRemoveFuelByAirbase

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: MarkerRemoveFuelByAirbase
Function Description:
File Location: cmm.AirBaseFunctions.lua
Syntax: CMM.MarkerRemoveFuelByAirbase( table EventData , number UnitID )
Return Value: nil
Parameters: Name Description
EventDataEvent data that contains the marker text (!removeFuel:<fuelTypeIndex>:<quantity>) and the position of the marker.
UnitIDThe unit ID to send a message to (used in multiplayer).
Example: CMM.MarkerRemoveFuelByAirbase(EventData, 1)
Example Description: Removes 500 tonnes of Jet Fuel (fuel type index 0) from the closest airbase’s warehouse when the marker text is "!removeFuel:0:500".
Related Functions:
Notes: