SetGroup Property

Usage:
   ObjectTemplate.SetGroup number

Argument values:

argument 1:    range is 0 to 110; most commonly 1

Description: Associates a soldier spawn point with a control flag. So, when a control point is owned by a side, all of its associated spawn points are active. See ControlPointTemplates.con for how this file is linked with others by this value. Also see SpawnGroupId.

Related properties: ObjectSpawnerId, SpawnGroupId

Used in object types (always present 100% of the time): SpawnPoint

Used in a total of 157 .con files: Allies_eastairfield_spawn.con, Allies_factory_spawn.con, Allies_westairfield_spawn.con, Objects.con, Soldierspawntemplates.con

Parent directories of these .con files: objects/Vehicles, Bf1942/Levels

Example: (from Bf1942/Levels/Peenemunde/Ctf/SoldierSpawnTemplates.con)
   rem
   rem setup spawnpoints templates
   rem
   rem*****************************************
   rem **** AXIS BASE *****
   rem ****************************************
   ObjectTemplate.Create SpawnPoint AxisSpawnPoint_AxisBase1
   ObjectTemplate.SetSpawnId 1
   ObjectTemplate.SetGroup 1


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