Jump to content

DrawMedicalPoint

From CMM Wiki
Return to CMM Command Reference
Environment: Mission Scripting
Function: DrawMedicalPoint
Function Description: Draws a medical‑point icon on the map. The marker consists of a rounded quadrilateral (the base) and an overlaid medical symbol.
File Location: cmm.drawFunctions.lua
Syntax: CMM.DrawMedicalPoint( table vec3 , number coal , number Owner )
Return Value: table
Parameters: Name Description
vec3World position where the medical point should be drawn.
coalCoalition for which the marker is visible (-1 = all, 0 = neutral, 1 = Redfor, 2 = Blufor). Defaults to -1.
OwnerColour indicator for the base of the marker (-1 or any value other than 0‑2 → light grey; 0 = neutral; 1 = red; 2 = blue). Defaults to -1.
Example: CMM.DrawMedicalPoint({x=100, y=0, z=-300}, 2, 2)
Example Description: Draws a blue medical point at the specified coordinates that is visible to Blufor units.
Related Functions:
Notes: