Usage:
ObjectTemplate.LoseControlWhenNotClose
boolean
Argument values:
argument 1: |
0; most commonly 0
|
Description: Always set to 0 in BF 1942. If set to 1, this means a ControlPoint will be lost if there
are no friendly soldiers that stay inside its Radius. It opens the possibility of forcing
players to coordinate and leave a defender at a captured control point.
Related properties: DisableIfEnemyInsideRadius,
DisableWhenLosingControl,
LoseControlWhenEnemyClose,
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/Hellendoorn/Conquest/ControlPointTemplates.con)
rem ****************************************
rem **** AXIS BASE *****
rem ****************************************
ObjectTemplate.Create controlpoint AxisBase
ObjectTemplate.NetworkableInfo ControlPointInfo
ObjectTemplate.SetControlPointName XP2_V2_DEVELOPMENT_AREA
ObjectTemplate.Radius 20
ObjectTemplate.Team 1
ObjectTemplate.SpawnGroupId 1
ObjectTemplate.ObjectSpawnerId 1
ObjectTemplate.AreaValue 30
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/8.2/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.