DisableIfEnemyInsideRadius Property

Usage:
   ObjectTemplate.DisableIfEnemyInsideRadius boolean

Argument values:

argument 1:    0; most commonly 0

Description: BF 1942 sets all its ControlPoint objects to have this property be off (0). If set to 1, the control point becomes unavailable for spawning (but not neutral) as soon as an enemy soldier is inside its Radius.

Related properties: DisableWhenLosingControl, LoseControlWhenEnemyClose, LoseControlWhenNotClose, Radius, TimeToGetControl, TimeToLoseControl

Used in object types (always present 100% of the time): ControlPoint

Used in a total of 125 .con files: Controlpointtemplates.con

Parent directory of these .con files: Bf1942/Levels

Example: (from Bf1942/Levels/Gazala/Ctf/ControlPointTemplates.con)
   ObjectTemplate.Create ControlPoint ALLIES_village
   ObjectTemplate.NetworkableInfo ControlPointInfo
   ObjectTemplate.SetControlPointName Capuzzo
   ObjectTemplate.Radius 50
   ObjectTemplate.Team 2
   ObjectTemplate.SpawnGroupId 3
   ObjectTemplate.ObjectSpawnerId 3
   ObjectTemplate.AreaValue 40
   ObjectTemplate.TimeToGetControl 10
   ObjectTemplate.TimeToLoseControl 10
   ObjectTemplate.DisableIfEnemyInsideRadius 0
   ObjectTemplate.DisableWhenLosingControl 0
   ObjectTemplate.LoseControlWhenEnemyClose 1
   ObjectTemplate.LoseControlWhenNotClose 0
   ObjectTemplate.Geometry flagbase_m1
   ObjectTemplate.HasCollisionPhysics 1
   ObjectTemplate.AddTemplate AnimatedFlag
   ObjectTemplate.SetPosition 0/7.6/0
   ObjectTemplate.SetTeamGeometry 1 flagge_m1
   ObjectTemplate.SetTeamGeometry 2 flaguk_m1


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