DrawCrosshair
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | DrawCrosshair | |
| Function Description: | Draws a white circular cross‑hair marker (a red medical cross inside a white circle) at the supplied world position. | |
| File Location: | cmm.drawFunctions.lua | |
| Syntax: | CMM.DrawCrosshair( table vec3 , number size ) | |
| Return Value: | table | |
| Parameters: | Name | Description |
| vec3 | Position vector (x, y, z) where the cross‑hair should be drawn. | |
| size | Optional radius of the outer circle in meters (default 10 m). | |
| Example: | CMM.DrawCrosshair({x = -21679.534726496 , y = 68.460746561264 , z = -259597.5790506},12) | |
| Example Description: | Draws a 12 m radius cross‑hair marker at the specified coordinates. | |
| Related Functions: | ||
| Notes: | ||