Jump to content

DrawExtraction

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: DrawExtraction
Function Description: Draws a circular extraction zone marker at the given world position.
File Location: cmm.drawFunctions.lua
Syntax: CMM.DrawExtraction( table vec3 , number size , table colourFill )
Return Value: table
Parameters: Name Description
vec3Position vector (x, y, z) where the extraction zone should be placed.
sizeRadius of the extraction circle in meters (default 150 m).
colourFillRGBA colour table for the marker’s fill (default {1,1,1,0.8}).
Example: CMM.DrawExtraction({x = -22051.585803659 , y = 106.85813145519 , z = -259366.62458457},100,{0.87 , 0.41 , 0.05 , 0.75})
Example Description: Draws a 100 m radius extraction zone at the specified coordinates with an orange‑ish fill.
Related Functions:
Notes: