HasRestrictedExit Property

Usage:
   ObjectTemplate.HasRestrictedExit boolean

Argument values:

argument 1:    1; most commonly 1

Description: This command keeps you from exiting a vehicle if your exit location is blocked by another vehicle, building, etc.

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

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

Parent directories of these .con files: objects/Vehicles, Bf1942/Levels

Example: (from objects/Vehicles/Land/M3GMC/Objects.con)
   rem *** M3GMC ***
   ObjectTemplate.Create PlayerControlObject M3GMC
   ObjectTemplate.NameTagOffset 0/-0.4/1
   ObjectTemplate.SetNetworkableInfo M3GMCBodyInfo
   ObjectTemplate.SaveInSeparateFile 1
   ObjectTemplate.ExitTimer 0.75
   ObjectTemplate.CullRadiusScale 5
   ObjectTemplate.HasMobilePhysics 1
   ObjectTemplate.HasDynamicShadow 1
   ObjectTemplate.ExplosionRadius 8
   ObjectTemplate.ExplosionDamage 5
   ObjectTemplate.ExitSpeedMod 0.75
   ObjectTemplate.Drag 2
   ObjectTemplate.Mass 15000
   ObjectTemplate.HasCollisionPhysics 1
   ObjectTemplate.HasResponsePhysics 1
   ObjectTemplate.HasArmor 1
   ObjectTemplate.SpeedMod 2
   ObjectTemplate.Hitpoints 90
   ObjectTemplate.Maxhitpoints 90
   ObjectTemplate.Material 45
   ObjectTemplate.CriticalDamage 16
   ObjectTemplate.HpLostWhileCriticalDamage 1.5
   ObjectTemplate.ExplosionForceMod 13
   ObjectTemplate.HpLostWhileUpSideDown 10
   ObjectTemplate.HpLostWhileDamageFromWater 10
   ObjectTemplate.AddArmorEffect 50 e_M3A1Damage 0/0.5/2.5
   ObjectTemplate.AddArmorEffect 16 e_M3A1Fire 0/0.7/3
   ObjectTemplate.AddArmorEffect 0 e_ExplGas 0/0/0
   ObjectTemplate.AddArmorEffect 0 e_scrapmetal 0/0/0
   ObjectTemplate.AddArmorEffect -1 WaterWaterExplosion 0/0/0
   ObjectTemplate.DamageFromWater 1
   ObjectTemplate.AiTemplate M3GMC
   rem -------------------------------------
   ObjectTemplate.AddTemplate lodM3GMC
   rem -------------------------------------
   ObjectTemplate.SetSoldierExitLocation -2/0/0 0/0/0
   ObjectTemplate.GUIIndex 23
   ObjectTemplate.SetVehicleIcon "Vehicle/Icon_m3gmc.tga"
   ObjectTemplate.SetVehicleIconPos 67/70
   ObjectTemplate.SetNumberOfWeaponIcons 1
   ObjectTemplate.SetPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
   ObjectTemplate.SetPrimaryAmmoBar ABAmmoBarReloadBar
   ObjectTemplate.SetCrossHairType CHTIcon
   ObjectTemplate.SetVehicleCategory VCLand
   ObjectTemplate.SetVehicleType VTTankHunter
   ObjectTemplate.SetToolTipType TTM3GMC
   ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_apc_16x16.tga"
   ObjectTemplate.HasRestrictedExit 1


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