DrawZone
Appearance
| 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 |
| argTbl | Table 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: | ||