MarkerAddFuelByAirbase
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | MarkerAddFuelByAirbase | |
| Function Description: | ||
| File Location: | cmm.AirBaseFunctions.lua | |
| Syntax: | CMM.MarkerAddFuelByAirbase( table EventData , number UnitID ) | |
| Return Value: | nil | |
| Parameters: | Name | Description |
| EventData | Event data that contains the marker text (!addFuel:<fuelTypeIndex>:<quantity>) and the position of the marker. | |
| UnitID | The unit ID to send a message to (used in multiplayer). | |
| Example: | CMM.MarkerAddFuelByAirbase(EventData, 1) | |
| Example Description: | Adds 50 tonnes of Jet Fuel (fuel type index 0) to the closest airbase’s warehouse when the marker text is "!addFuel:0:50". | |
| Related Functions: | ||
| Notes: | ||