Jump to content

DrawParachute

From CMM Wiki
Return to CMM Command Reference
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
vec3World coordinates (x, y, z) where the parachute should be drawn.
sizeRadius of the landing‑zone circle in metres. If omitted a default of 120 m is used.
ParaTypeDetermines 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: