Usage:
ObjectTemplate.SetSpawnId
number
Argument values:
argument 1: | range is 0 to 374; most commonly 20 |
Description: Each spawn point must have its own unique ID number. These ID numbers cannot be reused. It is best to start from 0 and go up from there. If you have 30 different spawn points in your map, you will need 30 different spawn id's (0-29). This is completely different from the SetGroup parameter.
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/salerno/TDM/SoldierSpawnTemplates.con)
rem
rem setup spawnpoints templates
rem
rem*****************************************
rem **** AXIS BASE *****
rem ****************************************
ObjectTemplate.Create SpawnPoint AxisSpawnPoint_1
ObjectTemplate.SetSpawnId 1
ObjectTemplate.SetGroup 1
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.