DontClearTeamOnExit Property

Usage:
   ObjectTemplate.DontClearTeamOnExit boolean

Argument values:

argument 1:    1; most commonly 1

Description: Setting this to 1 prevents the other team from using the vehicle. In BF 1942 this is set for all larger ships (i.e., not landing craft, rafts, etc.).

Related properties: AddArmorEffect, AddTemplate, CriticalDamage, ExplosionForceMod, GUIIndex, HasArmor, Hitpoints, HpLostWhileCriticalDamage, Mass, Material, Maxhitpoints, SetPosition

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

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

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

Example: (from Bf1942/Levels/Coral_Sea/Objects/Hornet/Objects.con)
   rem *** Hornet ***
   ObjectTemplate.Create PlayerControlObject Hornet
   ObjectTemplate.SetNetworkableInfo EnterpriseBodyInfo
   ObjectTemplate.SaveInSeparateFile 1
   ObjectTemplate.HasMobilePhysics 1
   ObjectTemplate.Drag 2.6
   ObjectTemplate.Mass 25000000
   ObjectTemplate.HasCollisionPhysics 1
   ObjectTemplate.HasResponsePhysics 1
   ObjectTemplate.HasArmor 1
   ObjectTemplate.Hitpoints 1200
   ObjectTemplate.Maxhitpoints 1200
   ObjectTemplate.Material 55
   ObjectTemplate.CriticalDamage 100
   ObjectTemplate.HpLostWhileCriticalDamage 1.5
   ObjectTemplate.ExplosionForceMod 5
   ObjectTemplate.DontClearTeamOnExit 1
   ObjectTemplate.AddArmorEffect 300 em_EnterpriseDamage 0/0/0
   ObjectTemplate.AddArmorEffect 150 em_EnterpriseDamage 0/0/0
   ObjectTemplate.AddArmorEffect 150 e_waterBoatSink 0/10/0
   ObjectTemplate.AddArmorEffect 100 em_EnterpriseDamage 0/0/0
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSink 0/10/0
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 19/6/-5
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 17/2/-45
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 14/2/-85
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 10/2/-125
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 13/3/25
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 18/3/45
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 16/2/65
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 14/2/85
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 0/3/125
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 0/6/35
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 0/5/-25
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 0/15/-5
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 0/3/-90
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -19/6/-5
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -17/3/-35
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -14/2/-75
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -10/2/-125
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -13/3/25
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -18/3/45
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -16/2/65
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -14/2/85
   ObjectTemplate.AiTemplate Enterprise
   rem -------------------------------------
   ObjectTemplate.AddTemplate lodHornet
   ObjectTemplate.AddTemplate Enterprise_Floater
   ObjectTemplate.SetPosition 0/14.8/140
   ObjectTemplate.AddTemplate Enterprise_Floater
   ObjectTemplate.SetPosition -14/14.8/70
   ObjectTemplate.AddTemplate Enterprise_Floater
   ObjectTemplate.SetPosition 14/14.8/70
   ObjectTemplate.AddTemplate Enterprise_Floater
   ObjectTemplate.SetPosition -17/14.8/0
   ObjectTemplate.AddTemplate Enterprise_Floater
   ObjectTemplate.SetPosition 17/14.8/0
   ObjectTemplate.AddTemplate Enterprise_Floater
   ObjectTemplate.SetPosition -14/14.8/-70
   ObjectTemplate.AddTemplate Enterprise_Floater
   ObjectTemplate.SetPosition 14/14.8/-70
   ObjectTemplate.AddTemplate Enterprise_Floater
   ObjectTemplate.SetPosition 0/14.8/-140
   rem -------------------------------------
   ObjectTemplate.SetPcoId 0
   ObjectTemplate.SetSoldierExitLocation 5/28/10 0/0/0
   ObjectTemplate.GUIIndex 35
   ObjectTemplate.SetVehicleIcon "Vehicle/Icon_enterprise.tga"
   ObjectTemplate.SetVehicleIconPos 45/65
   ObjectTemplate.SetPrimaryAmmoBar ABNone
   ObjectTemplate.SetCrossHairType CHTNone
   ObjectTemplate.SetVehicleCategory VCSea
   ObjectTemplate.SetVehicleType VTCarrier
   ObjectTemplate.SetToolTipType TTCarrier
   ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_aircraft_carrier_64x64.tga"
   ObjectTemplate.SetMinimapIconSize 64


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