ObjectSpawnerId Property

Usage:
   ObjectTemplate.ObjectSpawnerId number

Argument values:

argument 1:    range is -1 to 25; most commonly 4

Description: Used in ControlPointTemplates.con. Set to the same value as the Object.SetOSId value set in ObjectSpawns.con, to associate an object spawn point with a particular control flag. Sets which group of object spawners to use when the flag is captured.

See ControlPointTemplates.con for how this property is used.

Related properties: AreaValue, DisableIfEnemyInsideRadius, DisableWhenLosingControl, Geometry, HasCollisionPhysics, LoseControlWhenEnemyClose, LoseControlWhenNotClose, Radius, SetControlPointName, SpawnGroupId, Team, TimeToGetControl

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/Mimoyecques/Conquest/ControlPointTemplates.con)
   ObjectTemplate.Create controlpoint V3_Complex
   ObjectTemplate.NetworkableInfo ControlPointInfo
   ObjectTemplate.SetControlPointName XP2_V3_COMPLEX
   ObjectTemplate.Radius 20
   ObjectTemplate.Team 1
   ObjectTemplate.SpawnGroupId 1
   ObjectTemplate.ObjectSpawnerId 1
   ObjectTemplate.AreaValue 20
   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.