RemovePin
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | RemovePin | |
| Function Description: | Removes a previously created pin (circle + marker) from the map, cancelling any scheduled removal task if it is still pending. | |
| File Location: | cmm.drawFunctions.lua | |
| Syntax: | CMM.RemovePin( table PinMkrTbl ) | |
| Return Value: | nil | |
| Parameters: | Name | Description |
| PinMkrTbl | Table containing the identifiers of the pin to remove. The first element ([1]) must be the circle mark ID; the second element ([2]) is the marker ID (used for reference but not required by this function). | |
| Example: | CMM.RemovePin({circleMarkID = 42, PinMarkID = 43}) | |
| Example Description: | Deletes the pin with circle mark ID 42 and its associated marker from the map and clears any pending scheduled removal task for it. | |
| Related Functions: | ||
| Notes: | ||