Jump to content

RecordMarkerID

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (RecordMarkerID – created via PowerShell script (2025-11-11T21:12:26Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: RecordMarkerID
Function Description: Adds a marker ID to the internal list of recorded marker IDs to prevent reuse and ensure uniqueness.
File Location: cmm.markerFunctions.lua
Syntax: CMM.RecordMarkerID( number id )
Return Value: nil
Parameters: Name Description
idThe MarkerID to be recorded in the ALLMARKIDS table for future checks.
Example: CMM.RecordMarkerID(205)
Example Description: Records marker ID 205 into the internal list of used marker IDs to prevent its reuse in future marker allocations.
Related Functions:
Notes: