MarkerSpin
Appearance
| 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 |
| EventData | The 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 | |