MASIRealChute - MOARdV/AvionicsSystems GitHub Wiki

MASIRealChute.cs

The MASIParachute 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.

parachute.RealChuteAvailable()

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.ParachuteCount()

Returns the total number of parachutes installed on the vessel.

parachute.SetParachuteArmed(bool arm)

  • arm: If 'true', parachutes will auto-deploy when their criteria are met. If 'false', auto-deployment is disabled.

Returns: 1 if parachutes are armed, 0 otherwise

Arms or disarms parachutes for auto-deployment.

parachute.ToggleParachuteArmed()

Returns: 1 if parachutes are armed, 0 otherwise

Toggles the armed state of any RealChute or stock parachutes.


This documentation was automatically generated from source code at 22:33 UTC on 28/Feb/2019.