Jump to content

DrawZone

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (DrawZone – created via PowerShell script (2025-11-11T21:12:15Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: DrawZone
Function Description: Creates a zone marker on the map using the parameters supplied in *argTbl*.
File Location: cmm.drawFunctions.lua
Syntax: CMM.DrawZone( table argTbl )
Return Value: table
Parameters: Name Description
argTblTable items are at the start of the function. Required field: zoneName. Optional fields: fillColour, lineColour, labelColour, useZoneColour, lineType, labelSize, coalition, and label.
Example: CMM.DrawZone{zoneName="Alpha", fillColour={r=1,g=0,b=0,a=0.3}, lineType=2}
Example Description: Draws a red‑filled zone named “Alpha” with a dashed outline and returns the IDs of the created markers.
Related Functions:
Notes: