DestroyOnExit Property

Usage:
   ObjectTemplate.DestroyOnExit boolean

Argument values:

argument 1:    1; most commonly 1

Used in object types (and how often in each type): PlayerControlObject (1%)

Used in one .con file: objects/Vehicles/Air/WasserfallRocket/Objects.con

Example: (from objects/Vehicles/Air/WasserfallRocket/Objects.con)
   rem *** WasserfallRocket ***
   ObjectTemplate.Create PlayerControlObject WasserfallRocket
   ObjectTemplate.SetNetworkableInfo WasserfallRocket_body_info
   ObjectTemplate.SaveInSeparateFile 1
   ObjectTemplate.CullRadiusScale 5
   ObjectTemplate.HasMobilePhysics 1
   ObjectTemplate.HasDynamicShadow 1
   ObjectTemplate.Drag 0.09
   ObjectTemplate.Mass 2500
   ObjectTemplate.InertiaModifier 0.85/0.833/0.84
   ObjectTemplate.HasCollisionPhysics 1
   ObjectTemplate.HasResponsePhysics 1
   ObjectTemplate.ExplosionRadius 10
   ObjectTemplate.ExplosionDamage 10
   ObjectTemplate.HasArmor 1
   ObjectTemplate.DestroyOnExit 1
   ObjectTemplate.AngleMod 1
   ObjectTemplate.VehicleCameraShake CstMachinegun
   ObjectTemplate.VehicleFov 1.5
   ObjectTemplate.SpeedMod 2
   ObjectTemplate.Hitpoints 10
   ObjectTemplate.Maxhitpoints 10
   ObjectTemplate.Material 60
   ObjectTemplate.CriticalDamage 5
   ObjectTemplate.HpLostWhileCriticalDamage 1.5
   ObjectTemplate.ExplosionForceMod 15
   ObjectTemplate.HpLostWhileUpSideDown 10
   ObjectTemplate.HpLostWhileDamageFromWater 10
   ObjectTemplate.AddArmorEffect 7 em_StukaDamage 0/0.102/-1.21
   ObjectTemplate.AddArmorEffect 7 em_PlaneDamage 0/0.103/-1.21
   ObjectTemplate.AddArmorEffect 5 e_StukaFire 0/0.6/-1.11
   ObjectTemplate.AddArmorEffect 0 e_ExplGas 0/0/0
   ObjectTemplate.AddArmorEffect 0 e_scrapmetal_wasserfall 0/0/0
   ObjectTemplate.AddArmorEffect -1 WaterWaterExplosion 0/0/0
   ObjectTemplate.DamageFromWater 1
   ObjectTemplate.AiTemplate WasserFallRocket
   ObjectTemplate.CameraDelayTime 5.0
   ObjectTemplate.CameraDelayDistance 15.0
   ObjectTemplate.AddTemplate WasserFallGuns
   ObjectTemplate.SetPosition 0.0/0.0/0.0
   rem -------------------------------------
   ObjectTemplate.AddTemplate lodWasserfallRocket
   rem -------------------------------------
   ObjectTemplate.SetSoldierExitLocation -2.5/0/-3 0/0/0
   ObjectTemplate.GUIIndex 108
   ObjectTemplate.SetVehicleIcon "Vehicle/Icon_wasserfall.tga"
   ObjectTemplate.SetVehicleIconPos 69/90
   ObjectTemplate.SetPrimaryAmmoBar ABNone
   ObjectTemplate.SetCrossHairType CHTIcon
   ObjectTemplate.SetVehicleCategory VCAir
   ObjectTemplate.SetVehicleType VTFighter
   ObjectTemplate.SetToolTipType TTWasserfall
   ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_rocket_16x16.dds"
   ObjectTemplate.SetForwardMod 100


Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.