DrawMedicalPoint
Appearance
| 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 |
| vec3 | World position where the medical point should be drawn. | |
| coal | Coalition for which the marker is visible (-1 = all, 0 = neutral, 1 = Redfor, 2 = Blufor). Defaults to -1. | |
| Owner | Colour 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: | ||