Difference between revisions of "API:PartModule.StartState"
From Kerbal Space Program Wiki
(Created page with "{{Enum |name=PartModule.StartState |summary=An enum that determines what game state a part starts in. PartModule Class Link ''' The values for this enum a...") |
Rocketdocker (talk | contribs) ({{Orphan}}) |
||
(10 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{Orphan}} |
− | + | '''PartModule.StartState''' is an enum that determines what game state a part starts in. Implemented in [[API:PartModule|PartModule]]. | |
− | |||
− | |||
− | [[API:PartModule|PartModule | ||
− | |||
− | |||
− | |||
− | |||
− | |||
{{Fields| | {{Fields| | ||
Line 28: | Line 20: | ||
|desc=Part started while flying. | |desc=Part started while flying. | ||
}} | }} | ||
− | |||
{{Field | {{Field | ||
Line 35: | Line 26: | ||
|desc=Part started landed on a planet. | |desc=Part started landed on a planet. | ||
}} | }} | ||
− | |||
{{Field | {{Field | ||
Line 54: | Line 44: | ||
|desc=The part started before launch. | |desc=The part started before launch. | ||
}} | }} | ||
− | |||
{{Field | {{Field | ||
Line 61: | Line 50: | ||
|desc=The part started in the water. | |desc=The part started in the water. | ||
}} | }} | ||
− | |||
{{Field | {{Field | ||
|name=SubOrbital | |name=SubOrbital | ||
|type=PartModule.StartState | |type=PartModule.StartState | ||
− | |desc=The part started in a sub orbital | + | |desc=The part started in a sub orbital trajectory. |
}} | }} | ||
− | |||
}} | }} | ||
[[Category:Community API Documentation]] | [[Category:Community API Documentation]] |
Latest revision as of 17:33, 22 January 2020
PartModule.StartState is an enum that determines what game state a part starts in. Implemented in PartModule.
Fields
The following is a list of fields in PartModule.StartState.
Signature | Description |
---|---|
PartModule.StartState Docked | Part started while docked. |
PartModule.StartState Editor | Part started in editor. |
PartModule.StartState Flying | Part started while flying. |
PartModule.StartState Landed | Part started landed on a planet. |
PartModule.StartState None | The part state is unknown. |
PartModule.StartState Orbital | The part started in orbit. |
PartModule.StartState PreLaunch | The part started before launch. |
PartModule.StartState Splashed | The part started in the water. |
PartModule.StartState SubOrbital | The part started in a sub orbital trajectory. |