SetTeamGeometry Property

Usage:
   ObjectTemplate.SetTeamGeometry number name

Argument values:

argument 1:    range is 1 to 2; most commonly 1, 2
argument 2:    flagJp_m1, flagUs_m1, flagcan_m1, flagfr_m1, flagge_m1, flagit_m1, flagso_m1, flaguk_m1, flagus_m1; most commonly flagge_m1

Description: Sets the geometry for the flag for a control point, using the name of a GeometryTemplate object.

Related properties: AddTemplate, DisableIfEnemyInsideRadius, DisableWhenLosingControl, HasCollisionPhysics, LoseControlWhenEnemyClose, LoseControlWhenNotClose, SetPosition

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

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

Parent directory of these .con files: Bf1942/Levels

Example: (from Bf1942/Levels/Santo_Croce/Conquest/ControlPointTemplates.con)
   ObjectTemplate.Create ControlPoint AXISBASE
   ObjectTemplate.SetNetworkableInfo ControlPointInfo
   ObjectTemplate.Geometry flagbase_m1
   ObjectTemplate.SetControlPointName AXIS_BASE
   ObjectTemplate.Radius 20
   ObjectTemplate.Team 1
   ObjectTemplate.SpawnGroupId 1
   ObjectTemplate.ObjectSpawnerId 1
   ObjectTemplate.AreaValue 0
   ObjectTemplate.TimeToGetControl 9999
   ObjectTemplate.TimeToLoseControl 9999
   ObjectTemplate.DisableIfEnemyInsideRadius 0
   ObjectTemplate.DisableWhenLosingControl 0
   ObjectTemplate.LoseControlWhenEnemyClose 0
   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 flagfr_m1


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