Usage:
ObjectTemplate.SetEnterOnSpawn
boolean
Argument values:
argument 1: | 0, 1; most commonly 0 |
Related properties: SetAIEnterOnSpawn, SetGroup, SetSpawnAsParaTroper, SetSpawnId, SetSpawnPositionOffset, SetSpawnPreventionDelay
Used in object types (and how often in each type): SpawnPoint (2%)
Used in a total of 21 .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/Market_Garden/SinglePlayer/SoldierSpawnTemplates.con)
rem *** Enterprise_DriverSoldierSpawn ***
ObjectTemplate.Create SpawnPoint Enterprise_DriverSoldierSpawn
ObjectTemplate.SetSpawnRotation 0/0/0
ObjectTemplate.SetSpawnPositionOffset 0/0/0
ObjectTemplate.SetSpawnPreventionDelay 0
ObjectTemplate.SetSpawnId 0
ObjectTemplate.SetGroup 72
ObjectTemplate.SetEnterOnSpawn 1
ObjectTemplate.SetAIEnterOnSpawn 1
ObjectTemplate.SetSpawnAsParaTroper 0
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.