Skip to content

MASIRealChute

MOARdV edited this page Jan 11, 2018 · 15 revisions

MASIRealChute.cs

The MASIRealChute component allows Avionics Systems to interact with the RealChute mod. In addition, it allows some control with the stock parachute systems regardless of whether RealChute is installed.

ATTENTION: realchute will be renamed parachute in MAS v0.13.0. For v0.12.0, both names will work equally.

parachute.Available()

Returns 1 if RealChute is installed and available on this craft, 0 if it is not available.

parachute.CutParachute()

Returns: The number of parachutes receiving the instruction.

Cut all deployed parachutes (RealChute as well as stock).

parachute.DeployParachute()

Returns: The number of parachutes receiving the deploy command.

Deploy all parachutes (RealChute as well as stock).

parachute.DeploymentSafe()

Returns 1 if it is safe to deploy all parachutes, 0 if it is safe for some parachutes, or -1 if it is dangerous for all parachutes. Returns 1 if there are no parachutes.

parachute.GetParachuteArmed()

Returns 1 if at least one RealChute parachute is armed, 0 otherwise.

parachute.GetParachuteArmedOrDeployed()

Returns 1 is at least one RealChute parachute is armed or deployed, or if any stock parachutes are deployed; 0 otherwise.

parachute.GetParachuteDeployed()

Returns 1 if at least one RealChute or stock parachute is deployed; 0 otherwise.

parachute.ToggleParachuteArmed()

Returns: 1 if parachutes are armed, 0 otherwise

Toggles the armed state of any RealChute parachutes.


This documentation was automatically generated from source code at 21:25 UTC on 7/Jan/2018.

Clone this wiki locally