Difference between revisions of "API:PartModule.StartState"
From Kerbal Space Program Wiki
Singularity (talk | contribs) m (Removed the comment about values being incomplete (they no longer are) and changed "atmosphere" to "trajectory" in the SubOrbital value.) |
Rocketdocker (talk | contribs) ({{Orphan}}) |
||
(9 intermediate revisions by 4 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 26: | Line 20: | ||
|desc=Part started while flying. | |desc=Part started while flying. | ||
}} | }} | ||
− | |||
{{Field | {{Field | ||
Line 33: | Line 26: | ||
|desc=Part started landed on a planet. | |desc=Part started landed on a planet. | ||
}} | }} | ||
− | |||
{{Field | {{Field | ||
Line 52: | Line 44: | ||
|desc=The part started before launch. | |desc=The part started before launch. | ||
}} | }} | ||
− | |||
{{Field | {{Field | ||
Line 59: | Line 50: | ||
|desc=The part started in the water. | |desc=The part started in the water. | ||
}} | }} | ||
− | |||
{{Field | {{Field | ||
Line 66: | Line 56: | ||
|desc=The part started in a sub orbital trajectory. | |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. |