AddObjectiveSpawnerToComposite Property

Usage:
   ObjectTemplate.AddObjectiveSpawnerToComposite name

Argument values:

argument 1:    ObjectiveSpawner01, ObjectiveSpawner02, ObjectiveSpawner03, ObjectiveSpawner04, ObjectiveSpawner05

Description: For Objective Mode battles, this property adds an objective object to the ANDCompositeObjective object.

Related properties: SetObjectiveDelay

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

Used in a total of 7 .con files: Objectivespawnertemplates.con

Parent directory of these .con files: Bf1942/Levels

Example: (from Bf1942/Levels/Hellendoorn/ObjectiveMode/ObjectiveSpawnerTemplates.con)
   ObjectTemplate.Create ANDCompositeObjective Composite
   ObjectTemplate.SetNetworkableInfo ObjectiveInfo
   ObjectTemplate.AddObjectiveSpawnerToComposite ObjectiveSpawner01
   ObjectTemplate.AddObjectiveSpawnerToComposite ObjectiveSpawner02
   ObjectTemplate.AddObjectiveSpawnerToComposite ObjectiveSpawner03
   ObjectTemplate.AddObjectiveSpawnerToComposite ObjectiveSpawner04
   ObjectTemplate.SetObjectiveDelay 3.0
   ObjectTemplate.SetTeam 2


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