Usage:
ObjectTemplate.SetControlPointName
string name
Argument values:
argument 1: | 1st_Line_Bunker, 2nd_Line_Bunker, 2nd_Panzer_Division_Field_HQ, 2nd_Panzer_Division_HQ, ALLIES_BASE, ALLIES_HARBOR, ALLIES_VILLAGE, AXIS_BASE, AXIS_TRAIN_STATION, AXIS_VILLAGE, Airfield, Allied_Airfield, ... |
argument 2: | [optional] Depot; most commonly Depot |
Related properties: AreaValue, DisableIfEnemyInsideRadius, DisableWhenLosingControl, LoseControlWhenEnemyClose, ObjectSpawnerId, Radius, SpawnGroupId, Team, TimeToGetControl
Used in object types (and how often in each type): ControlPoint (97%)
Used in a total of 122 .con files: Controlpointtemplates.con
Parent directory of these .con files: Bf1942/Levels
Example: (from Bf1942/Levels/Market_Garden/SinglePlayer/ControlPointTemplates.con)
ObjectTemplate.Create ControlPoint OpenSpawnPoint_alliedside_ironbrdgbunker
ObjectTemplate.NetworkableInfo ControlPointInfo
ObjectTemplate.SetControlPointName Arnhem_Bridge
ObjectTemplate.Radius 25
ObjectTemplate.Team 0
ObjectTemplate.SpawnGroupId 3
ObjectTemplate.ObjectSpawnerId 25
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/8.2/0
ObjectTemplate.SetTeamGeometry 1 flagge_m1
ObjectTemplate.SetTeamGeometry 2 flagus_m1
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.