DrawParachute
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | DrawParachute | |
| Function Description: | Draws a stylised parachute at the specified world position. A circle outlines the landing zone, a polygon represents the canopy and a set of lines mimics the cords. | |
| File Location: | cmm.drawFunctions.lua | |
| Syntax: | CMM.DrawParachute( table vec3 , number size , string ParaType ) | |
| Return Value: | table | |
| Parameters: | Name | Description |
| vec3 | World coordinates (x, y, z) where the parachute should be drawn. | |
| size | Radius of the landing‑zone circle in metres. If omitted a default of 120 m is used. | |
| ParaType | Determines the canopy colour (nil=black, "CARGO"=orange, "PILOT_B"=blue, "PILOT_R"=red). | |
| Example: | CMM.DrawParachute({x=1000,y=200,z=-500}, 150, "PILOT_B") | |
| Example Description: | Draws a blue parachute with a 150 m landing‑zone circle at the specified coordinates. | |
| Related Functions: | ||
| Notes: | ||