Jump to content

RemovePin

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (RemovePin – created via PowerShell script (2025-11-11T21:12:18Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
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
PinMkrTblTable 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: