Jump to content

DrawRoundedQuad

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (DrawRoundedQuad – 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: DrawRoundedQuad
Function Description: Draws a rounded quadrilateral marker at the supplied 3‑D point.
File Location: cmm.drawFunctions.lua
Syntax: CMM.DrawRoundedQuad( table argTbl )
Return Value: table or nil
Parameters: Name Description
argTblMarker Argument Table, See Function for variables. REQUIRED Field: vec. OPTIONAL fields: height, width, curve, fillColour, lineColour, lineType, coalition.
Example: CMM.DrawRoundedQuad{vec=Unit.getByName("ARMOR-SPOT-19-1"):getPoint(), height=2500, width=500, curve=0.1}
Example Description: Draws a rounded rectangle at the unit’s position with a height of 2500 m, width of 500 m and curvature 0.1.
Related Functions:
Notes: