Jump to content

DrawCrosshair

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (DrawCrosshair – created via PowerShell script (2025-11-11T21:12:16Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
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
vec3Position vector (x, y, z) where the cross‑hair should be drawn.
sizeOptional 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: