Usage:
ObjectTemplate.DisableWhenLosingControl
number
Argument values:
argument 1: | range is 0 to 03; most commonly 0 |
Description: This property is always set to 0 in BF 1942 levels.
If set to 1, the control pointbecomes unavailable for spawning (but not neutral) as soon as an there are no friendly soldiers inside its Radius.
Related properties: DisableIfEnemyInsideRadius, 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/Telemark/Conquest/ControlPointTemplates.con)
ObjectTemplate.Create ControlPoint ALLIES_BASE
ObjectTemplate.NetworkableInfo ControlPointInfo
ObjectTemplate.SetControlPointName XP2_ALLIED_AIRFEILD_TELEMARK
ObjectTemplate.Radius 20
ObjectTemplate.Team 2
ObjectTemplate.SpawnGroupId 1
ObjectTemplate.ObjectSpawnerId 1
ObjectTemplate.AreaValue 25
ObjectTemplate.TimeToGetControl 10
ObjectTemplate.TimeToLoseControl 10
ObjectTemplate.DisableIfEnemyInsideRadius 0
ObjectTemplate.DisableWhenLosingControl 0
ObjectTemplate.LoseControlWhenEnemyClose 0
ObjectTemplate.LoseControlWhenNotClose 0
ObjectTemplate.UnableToChangeTeam 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
ObjectTemplate.SetTakeable 1 0
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.