Difference between revisions of "API:Vessel.Situations"

From Kerbal Space Program Wiki
Jump to: navigation, search
Line 11: Line 11:
 
|name=FLYING
 
|name=FLYING
 
|type=Vessel.Situations
 
|type=Vessel.Situations
|desc=Vessel is flying.
+
|desc=Vessel is flying in an atmosphere.
 
}}
 
}}
  
Line 17: Line 17:
 
|name=LANDED
 
|name=LANDED
 
|type=Vessel.Situations
 
|type=Vessel.Situations
|desc=Vessel is landed on a planet.
+
|desc=Vessel is landed on a planet or moon.
 
}}
 
}}
  
Line 35: Line 35:
 
|name=SPLASHED
 
|name=SPLASHED
 
|type=Vessel.Situations
 
|type=Vessel.Situations
|desc=Vessel is in the water.
+
|desc=Vessel is in an ocean.
 
}}
 
}}
  

Revision as of 18:38, 31 December 2018

Vessel.Situations is an enum that determines what game state a vessel is in. Implemented in Vessel.

Fields

The following is a list of fields in Vessel.Situations.

Signature Description
Vessel.Situations DOCKED Vessel is docked.
Vessel.Situations FLYING Vessel is flying in an atmosphere.
Vessel.Situations LANDED Vessel is landed on a planet or moon.
Vessel.Situations ORBITING Vessel is in orbit.
Vessel.Situations PRELAUNCH Vessel situation before launch.
Vessel.Situations SPLASHED Vessel is in an ocean.
Vessel.Situations SUB_ORBITAL Vessel is in a sub orbital trajectory.