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