Difference between revisions of "API:PartModule.StartState"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (top)
m (Reverted edits by Rocketing Rudolph (talk) to last revision by Glyph)
Line 1: Line 1:
 +
'''PartModule.StartState''' is an enum that determines what game state a part starts in. Implemented in [[API:PartModule|PartModule]].
  
 +
{{Fields|
 +
{{Field
 +
|name=Docked
 +
|type=PartModule.StartState
 +
|desc=Part started while docked.
 +
}}
 +
 +
{{Field
 +
|name=Editor
 +
|type=PartModule.StartState
 +
|desc=Part started in editor.
 +
}}
 +
 +
{{Field
 +
|name=Flying
 +
|type=PartModule.StartState
 +
|desc=Part started while flying.
 +
}}
 +
 +
{{Field
 +
|name=Landed
 +
|type=PartModule.StartState
 +
|desc=Part started landed on a planet.
 +
}}
 +
 +
{{Field
 +
|name=None
 +
|type=PartModule.StartState
 +
|desc=The part state is unknown.
 +
}}
 +
 +
{{Field
 +
|name=Orbital
 +
|type=PartModule.StartState
 +
|desc=The part started in orbit.
 +
}}
 +
 +
{{Field
 +
|name=PreLaunch
 +
|type=PartModule.StartState
 +
|desc=The part started before launch.
 +
}}
 +
 +
{{Field
 +
|name=Splashed
 +
|type=PartModule.StartState
 +
|desc=The part started in the water.
 +
}}
 +
 +
{{Field
 +
|name=SubOrbital
 +
|type=PartModule.StartState
 +
|desc=The part started in a sub orbital trajectory.
 +
}}
 +
}}
 +
 +
[[Category:Community API Documentation]]

Revision as of 18:49, 17 March 2017

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.