Jump to content

MarkerPin

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (MarkerPin – created via PowerShell script (2025-11-11T21:12:21Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: MarkerPin
Function Description: Processes a marker pin command to create or report visual pins on the F10 map. Supports color-based pins (e.g., red, blue, white)
File Location: cmm.MapCommandFunctions.lua
Syntax: CMM.MarkerPin( table EventData )
Return Value: nil
Parameters: Name Description
EventDataThe event data containing text and position. Expected fields: text (string), pos (vec3).
Example: CMM.MarkerPin({text="!pin:red", pos= <vec3>})
Example Description: Creates a red pin at (100, 50, 0)
Related Functions:
Notes: