Usage:
ObjectTemplate.OnlyTakeableByTeam
number
Argument values:
argument 1: | 2 |
Description: Means only one team can take this control point, and the other team cannot retake (or grey) it. Examples are the beach flags at Omaha Beach, Iwo Jima, and Husky.
Related properties: AddTemplate, AreaValue, DisableIfEnemyInsideRadius, DisableWhenLosingControl, Geometry, LoseControlWhenEnemyClose, LoseControlWhenNotClose, ObjectSpawnerId, SetPosition, SetTeamGeometry, SpawnGroupId, Team, TimeToGetControl
Used in object types (and how often in each type): ControlPoint (1%)
Used in a total of 10 .con files: Controlpointtemplates.con
Parent directory of these .con files: Bf1942/Levels
Example: (from Bf1942/Levels/Iwo_Jima/SinglePlayer/ControlPointTemplates.con)
ObjectTemplate.Create ControlPoint sandBase_Cpoint
ObjectTemplate.NetworkableInfo ControlPointInfo
ObjectTemplate.SetControlPointName Landing_Beach
ObjectTemplate.Radius 25
ObjectTemplate.Team 0
ObjectTemplate.SpawnGroupId 6
ObjectTemplate.ObjectSpawnerId 6
ObjectTemplate.AreaValue 0
ObjectTemplate.TimeToGetControl 2
ObjectTemplate.TimeToLoseControl 2
ObjectTemplate.OnlyTakeableByTeam 2
ObjectTemplate.DisableIfEnemyInsideRadius 0
ObjectTemplate.DisableWhenLosingControl 0
ObjectTemplate.LoseControlWhenEnemyClose 1
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 flagJp_m1
ObjectTemplate.SetTeamGeometry 2 flagus_m1
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.