Usage:
ObjectTemplate.AreaValue
number
Argument values:
argument 1: |
range is 0 to 150; most commonly 25
|
Description: Set the value of capturing a ControlPoint. Once the total value of captured control points is
100 or more, the opponents' tickets will start to fall.
Related properties: AddTemplate,
DisableIfEnemyInsideRadius,
DisableWhenLosingControl,
Geometry, HasCollisionPhysics,
LoseControlWhenEnemyClose,
LoseControlWhenNotClose,
ObjectSpawnerId, Radius,
SetControlPointName, SpawnGroupId,
Team, TimeToGetControl
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/Hellendoorn/TDM/ControlPointTemplates.con)
rem ****************************************
rem **** AXIS BASE *****
rem ****************************************
ObjectTemplate.Create controlpoint AxisBase
ObjectTemplate.NetworkableInfo ControlPointInfo
ObjectTemplate.SetControlPointName XP2_V2_DEVELOPMENT_AREA
ObjectTemplate.Radius 20
ObjectTemplate.Team 1
ObjectTemplate.SpawnGroupId 1
ObjectTemplate.ObjectSpawnerId 1
ObjectTemplate.AreaValue 30
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 flaguk_m1
Go to the ObjectTemplate properties
list page, ObjectTemplate page,
All Properties list,
or Main scripting page.