SetName Property

Usage:
   ObjectTemplate.SetName string boolean

Argument values:

argument 1:    ALLIESBase, AXISBASE, The_Beach, The_Bunker, The_City_Entry, The_Village, cassino, hillbase_1, hillbase_2, hillbase_3; most commonly The_Bunker
argument 2:    [optional] 1; most commonly 1

Related properties: AreaValue, DisableIfEnemyInsideRadius, DisableWhenLosingControl, LoseControlWhenEnemyClose, NetworkableInfo, ObjectSpawnerId, Radius, SpawnGroupId, Team, TimeToGetControl

Used in object types (and how often in each type): ControlPoint (3%)

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

Parent directory of these .con files: Bf1942/Levels

Example: (from Bf1942/Levels/Essen/Ctf/ControlPointTemplates.con)
   ObjectTemplate.Create ControlPoint the_beach
   ObjectTemplate.NetworkableInfo ControlPointInfo
   ObjectTemplate.SetName The_Beach
   ObjectTemplate.Radius 40
   ObjectTemplate.Team 0
   ObjectTemplate.SpawnGroupId 2
   ObjectTemplate.ObjectSpawnerId 2
   ObjectTemplate.AreaValue 0
   ObjectTemplate.TimeToGetControl 10
   ObjectTemplate.TimeToLoseControl 10
   ObjectTemplate.DisableIfEnemyInsideRadius 0
   ObjectTemplate.DisableWhenLosingControl 0
   ObjectTemplate.LoseControlWhenEnemyClose 1
   ObjectTemplate.LoseControlWhenNotClose 0
   ObjectTemplate.OnlyTakeableByTeam 2
   ObjectTemplate.Geometry flagbase_m1
   ObjectTemplate.AddTemplate AnimatedFlag
   ObjectTemplate.SetPosition 0/8.2/0
   ObjectTemplate.SetTeamGeometry 1 flagit_m1
   ObjectTemplate.SetTeamGeometry 2 flaguk_m1


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