DrawFire
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | DrawFire | |
| Function Description: | Renders a stylised “fire” polygon at the supplied position; two concentric polygons (outer and inner) are drawn with red/orange fill and black outline. | |
| File Location: | cmm.drawFunctions.lua | |
| Syntax: | CMM.DrawFire( table vec3 , number or nil scale , number or nil coal ) | |
| Return Value: | table or nil | |
| Parameters: | Name | Description |
| vec3 | Position of the centre point ({x=..., y=..., z=...}); y is used only for marker placement. | |
| scale | Scale multiplier applied to both polygons. Default: 1. | |
| coal | Coalition of the marker (-1 = all, 0 = neutral, 1 = red, 2 = blue). Default: -1. | |
| Example: | CMM.DrawFire({x=1000,y=0,z=-500}, 2, 1) | |
| Example Description: | Draws a large orange‑red fire at coordinates (1000 , 0 , -500) for the red coalition. | |
| Related Functions: | ||
| Notes: | ||