Jump to content

MarkerSpin

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (MarkerSpin – 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: MarkerSpin
Function Description: Processes a marker pin event to display and spawn a visual pin (with optional color) at a specified location on the F10 map
File Location: cmm.MapCommandFunctions.lua
Syntax: CMM.MarkerSpin( table EventData )
Return Value: nil
Parameters: Name Description
EventDataThe event data containing text and position. Expected fields: text (string), pos (vec3).
Example: CMM.MarkerSpin({text="pin:red", pos= <vec3>})
Example Description: Creates a red pin at (100, 50, 0) with a red smoke trail and red smoke map marker, showing the MGRS grid and expiration time to users.
Related Functions:
Notes: Map Command !spin