MarkerRemoveItemByAirbase
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | MarkerRemoveItemByAirbase | |
| Function Description: | ||
| File Location: | cmm.AirBaseFunctions.lua | |
| Syntax: | CMM.MarkerRemoveItemByAirbase( table EventData , number UnitID ) | |
| Return Value: | nil | |
| Parameters: | Name | Description |
| EventData | Event data that contains the marker text (!removeItem:<weaponName>:<quantity>) and the position of the marker. | |
| UnitID | The unit ID to send a message to (used in multiplayer). | |
| Example: | CMM.MarkerRemoveItemByAirbase(EventData, 1) | |
| Example Description: | Removes 98 units of weapon weapons.missiles.AGM_114K from the closest airbase’s warehouse when the marker text is "!removeItem:weapons.missiles.AGM_114K:98". | |
| Related Functions: | ||
| Notes: | ||