SpawnDelay Property

Usage:
   ObjectTemplate.SpawnDelay number

Argument values:

argument 1:    range is 0 to 9999; most commonly 60

Description: The amount of time after an object is killed that it respawns. This delay can also be made variable, by using MinSpawnDelay and MaxSpawnDelay to define a time delay range.

Related properties: MaxSpawnDelay, MinSpawnDelay, SpawnDelayAtStart

Used in object types (and how often in each type): ObjectSpawner (49%)

Used in a total of 96 .con files: Objectivespawnertemplates.con, Objects.con, Objectspawntemplates.con, Smallwar.con

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

Example: (from Bf1942/Levels/Essen/TDM/ObjectSpawnTemplates.con)
   ObjectTemplate.Create ObjectSpawner lighttankspawner
   ObjectTemplate.SetObjectTemplate 2 M3Grant
   ObjectTemplate.SetObjectTemplate 1 M11-39
   ObjectTemplate.SpawnDelay 60
   ObjectTemplate.SpawnDelayAtStart 0
   ObjectTemplate.TimeToLive 120
   ObjectTemplate.Distance 200


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