NrOfObjectToSpawn Property

Usage:
   ObjectTemplate.NrOfObjectToSpawn boolean

Argument values:

argument 1:    1; most commonly 1

Description: Set in ObjectSpawnTemplates.con, this is the total number of objects that will ever spawn at a spawn point. This is used in the Coral Sea scenario (it is set to 1) so that only one carrier will spawn for each side.

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

Used in one .con file: Bf1942/Levels/Coral_Sea/Conquest/Objectspawntemplates.con

Example: (from Bf1942/Levels/Coral_Sea/Conquest/ObjectSpawnTemplates.con)
   ObjectTemplate.Create ObjectSpawner carrierSpawner_1
   ObjectTemplate.SetObjectTemplate 1 Hiryu
   ObjectTemplate.SpawnDelay 300
   ObjectTemplate.SpawnDelayAtStart 0
   ObjectTemplate.TimeToLive 120
   ObjectTemplate.Distance 200
   ObjectTemplate.TeamOnVehicle 1
   ObjectTemplate.NrOfObjectToSpawn 1


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