Jump to content

GetNewMarkerID: Difference between revisions

From CMM Wiki
m GetNewMarkerID – created via PowerShell script (2026-01-01T06:03:34Z)
Tags: Manual revert Reverted
m GetNewMarkerID – created via PowerShell script (2026-02-11T01:16:39Z)
Tag: Manual revert
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 14:16, 10 February 2026

Return to CMM Command Reference
Environment: Mission Scripting
Function: GetNewMarkerID
Function Description: Generates a unique convoy group name by incrementing a counter until a name not already in use is found, ensuring no name conflicts with existing groups.
File Location: cmm.spawnFunctions.lua
Syntax: CMM.GetNewMarkerID( )
Return Value: string
Parameters: Name Description
Example: CMM.GetNewMarkerID()
Example Description: Invokes the function to generate a unique convoy name, such as "Convoy#0001", ensuring it does not conflict with existing group names in the mission.
Related Functions:
Notes: --TODO CODE REVIEW REQUIRED