DisableSpawnPointsOnEnter Property

Usage:
   ObjectTemplate.DisableSpawnPointsOnEnter boolean

Argument values:

argument 1:    1; most commonly 1

Description: A boolean normally set to 0.

0 = normal spawn point behavior, people can still spawn there even when the vehicle occupied.

1 = on, the spawn point is disabled when someone gets into the vehicle. This is used on the submarines so that people don't spawn end up swimming on the surface in the middle of nowhere and and having to suicide.

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

Used in a total of 2 .con files: Objects.con

Parent directory of these .con files: objects/Vehicles

Example: (from objects/Vehicles/Sea/Gato/Objects.con)
   rem *** Gato ***
   ObjectTemplate.Create PlayerControlObject Gato
   ObjectTemplate.SetNetworkableInfo GatoBodyInfo
   ObjectTemplate.SaveInSeparateFile 1
   ObjectTemplate.HasMobilePhysics 1
   ObjectTemplate.Drag 0.2
   ObjectTemplate.Mass 800000
   ObjectTemplate.HasCollisionPhysics 1
   ObjectTemplate.HasResponsePhysics 1
   ObjectTemplate.HasArmor 1
   ObjectTemplate.Hitpoints 200
   ObjectTemplate.Maxhitpoints 200
   ObjectTemplate.Material 57
   ObjectTemplate.CriticalDamage 100
   ObjectTemplate.HpLostWhileCriticalDamage 1.5
   ObjectTemplate.ExplosionForceMod 50
   ObjectTemplate.DontClearTeamOnExit 1
   ObjectTemplate.SpeedMod 0.05
   ObjectTemplate.AddArmorEffect 137 em_GatoDamage 0/0/0
   ObjectTemplate.AddArmorEffect 0 WaterExplosionSub 0/0/0
   rem -------------------------------------
   ObjectTemplate.AddTemplate lodGato
   ObjectTemplate.AddTemplate GatoFloater
   ObjectTemplate.SetPosition 0/2/32
   ObjectTemplate.AddTemplate GatoFloater
   ObjectTemplate.SetPosition -2.499/2/16
   ObjectTemplate.AddTemplate GatoFloater
   ObjectTemplate.SetPosition 2.5/2/16
   ObjectTemplate.AddTemplate GatoFloater
   ObjectTemplate.SetPosition -3.499/2/0
   ObjectTemplate.AddTemplate GatoFloater
   ObjectTemplate.SetPosition 3.5/2/0
   ObjectTemplate.AddTemplate GatoFloater
   ObjectTemplate.SetPosition -2.499/2/-15.999
   ObjectTemplate.AddTemplate GatoFloater
   ObjectTemplate.SetPosition 2.5/2/-15.999
   ObjectTemplate.AddTemplate GatoFloater
   ObjectTemplate.SetPosition 0/2/-31.999
   ObjectTemplate.AddTemplate e_waterfrontBigSub
   ObjectTemplate.SetPosition 0/1/54
   ObjectTemplate.AddTemplate e_Water06Dive
   ObjectTemplate.SetPosition 0/6/20
   ObjectTemplate.AddTemplate e_Water510Dive
   ObjectTemplate.SetPosition 0/3/23
   ObjectTemplate.AddTemplate e_Water10BDive
   ObjectTemplate.SetPosition 0/0/55
   ObjectTemplate.AddTemplate e_Water10BDiveBack
   ObjectTemplate.SetPosition 0/0/-25.999
   ObjectTemplate.AddTemplate e_waterBoatSvallSub
   ObjectTemplate.SetPosition 0/0/55
   ObjectTemplate.SetRotation 90/0/0
   ObjectTemplate.AddTemplate e_waterBoatSvallSub
   ObjectTemplate.SetPosition 0/0/-26
   ObjectTemplate.SetRotation 270/0/0
   rem -------------------------------------
   ObjectTemplate.SubPos 1
   ObjectTemplate.SetSoldierExitLocation 0/4.3/5 0/0/0
   ObjectTemplate.GUIIndex 86
   ObjectTemplate.SetVehicleIcon "Vehicle/Icon_gato.tga"
   ObjectTemplate.SetVehicleIconPos 60/85
   ObjectTemplate.SetNumberOfWeaponIcons 1
   ObjectTemplate.SetPrimaryAmmoIcon "Ammo/Icon_torpedo.tga"
   ObjectTemplate.SetPrimaryAmmoBar ABAmmoBarReloadBar
   ObjectTemplate.SetCrossHairType CHTNone
   ObjectTemplate.SetVehicleCategory VCSea
   ObjectTemplate.SetVehicleType VTSubmarine
   ObjectTemplate.SetToolTipType TTSubmarine
   ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_submarine_32x32.tga"
   ObjectTemplate.SetMinimapIconSize 32
   rem ***
   ObjectTemplate.SubmarineData 0.009 0.03 1 10 19.5 40 5
   ObjectTemplate.SetSubmarineHudDepthModifier 5.9
   ObjectTemplate.SetSubmarineHudDirModifier 0.01
   ObjectTemplate.DisableSpawnPointsOnEnter 1


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