Usage:
ObjectTemplate.TimeToGetControl
number
Argument values:
argument 1: | range is 2 to 9999; most commonly 10 |
Description: Time in seconds it takes for a soldier to take over a ControlPoint when there are no enemies inside the radius. BF 1942 uses 10 for all capturable control points, 9999 for uncapturable ones.
Related properties: DisableIfEnemyInsideRadius, DisableWhenLosingControl, LoseControlWhenEnemyClose, LoseControlWhenNotClose, Radius, 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/Berlin/SinglePlayer/ControlPointTemplates.con)
ObjectTemplate.Create controlpoint AlliesBase_2_Cpoint
ObjectTemplate.NetworkableInfo ControlPointInfo
ObjectTemplate.SetControlPointName Soviet_HQ
ObjectTemplate.Radius 5
ObjectTemplate.Team 2
ObjectTemplate.SpawnGroupId 2
ObjectTemplate.ObjectSpawnerId 2
ObjectTemplate.AreaValue 0
ObjectTemplate.TimeToGetControl 9999
ObjectTemplate.TimeToLoseControl 9999
ObjectTemplate.DisableIfEnemyInsideRadius 0
ObjectTemplate.DisableWhenLosingControl 0
ObjectTemplate.LoseControlWhenEnemyClose 1
ObjectTemplate.LoseControlWhenNotClose 0
ObjectTemplate.UnableToChangeTeam 1
ObjectTemplate.Geometry flagbase_m1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.AddTemplate AnimatedFlag
ObjectTemplate.SetPosition 0/8.2/0
ObjectTemplate.SetTeamGeometry 1 flagge_m1
ObjectTemplate.SetTeamGeometry 2 flagso_m1
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.