MarkerPin
Appearance
| 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 |
| EventData | The 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: | ||