Jump to content

DrawInsertion

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (DrawInsertion – 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: DrawInsertion
Function Description: Draws a circular insertion zone marker at the given world position.
File Location: cmm.drawFunctions.lua
Syntax: CMM.DrawInsertion( table vec3 , number size , table colourFill )
Return Value: table
Parameters: Name Description
vec3Position vector (x, y, z) where the insertion zone should be placed.
sizeRadius of the insertion circle in meters (default 150 m).
colourFillRGBA colour table for the marker’s fill (default {1,1,1,0.8}).
Example: CMM.DrawInsertion({x = -21354.950080436 , y = 110.27038920094 , z = -259506.87699632},100,{0.87 , 0.41 , 0.05 , 0.75})
Example Description: Draws a 100 m radius insertion zone at the specified coordinates with an orange‑ish fill.
Related Functions:
Notes: