Difference between revisions of "API:Vessel.Situations"
From Kerbal Space Program Wiki
Rocketdocker (talk | contribs) ({{Orphan}}) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Orphan}} | ||
'''Vessel.Situations''' is an enum that determines what game state a vessel is in. Implemented in [[API:Vessel|Vessel]]. | '''Vessel.Situations''' is an enum that determines what game state a vessel is in. Implemented in [[API:Vessel|Vessel]]. | ||
Line 11: | Line 12: | ||
|name=FLYING | |name=FLYING | ||
|type=Vessel.Situations | |type=Vessel.Situations | ||
− | |desc=Vessel is flying. | + | |desc=Vessel is flying in an atmosphere. |
}} | }} | ||
Line 17: | Line 18: | ||
|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 36: | ||
|name=SPLASHED | |name=SPLASHED | ||
|type=Vessel.Situations | |type=Vessel.Situations | ||
− | |desc=Vessel is in | + | |desc=Vessel is in an ocean. |
}} | }} | ||
Latest revision as of 17:34, 22 January 2020
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. |