Usage:
ObjectTemplate.CreateInvisible
boolean
Argument values:
argument 1: | 0, 1; most commonly 1 |
Description: This property makes the object invisible when it is created.
Used in object types (and how often in each type): LandingGear (9%), Spring (12%)
Used in a total of 23 .con files: Objects.con, Physics.con
Parent directory of these .con files: objects/Vehicles
Example: (from objects/Vehicles/Air/Goblin/Objects.con)
rem *** GoblinLandingGearL ***
ObjectTemplate.Create LandingGear GoblinLandingGearL
rem ObjectTemplate.loadSoundScript ../Common/Sounds/LandingGear.ssc
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.AddTemplate GoblinWheel3
ObjectTemplate.SetPosition -0.259/-2.1/0.3
rem -------------------------------------
ObjectTemplate.SetMinRotation -20/0/-79
ObjectTemplate.SetMaxSpeed 10/0/1000
ObjectTemplate.SetAcceleration -5/0/0
ObjectTemplate.SetGearDownHeight 0
ObjectTemplate.SetGearDownEngineInput 0
ObjectTemplate.SetGearUpEngineInput 0.3
ObjectTemplate.SetGearUpHeight 6
ObjectTemplate.CreateInvisible 1
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.