Navigation:  Reference > Body Class > Related Functions >

BodyTypeFromText

Previous pageReturn to chapter overviewNext page

Function BodyTypeFromText( sBodyType: String): Integer

Returns the integer body type ID value for a given textual description of a body type.  sBodyType may be one of the following:

 

       star

       multiple star system

       close multiple system

       black hole

       space station

       free object

       neutron star

       nebula

       white dwarf

       red giant

       blue giant

       brown dwarf

       deep space object

       terrestrial

       gas giant

       asteroid belt

       planetoid

       ring

       planet system

       small body

       mega structure

       fleet

       ship

       marker