DestroyTargetObjective Type

The DestroyTargetObjective object type is created by ObjectTemplate.Create.

For Objective Mode battles, this type of object is the parent which pulls together various properties for a destroyable objective.

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

Parent directory of these .con files: Bf1942/Levels

Example: (from Bf1942/Levels/Telemark/ObjectiveMode/ObjectiveSpawnerTemplates.con)
   rem ================ ObjectiveTemplates =====================
   rem // Axis = 1 , Allied = 2
   ObjectTemplate.Create DestroyTargetObjective DestroyTurbine01
   ObjectTemplate.SetNetworkableInfo ObjectiveInfo
   ObjectTemplate.SetTargetName Turbine01
   ObjectTemplate.ObjectiveName TURBINE_1
   ObjectTemplate.SetObjectiveDelay 1.0
   ObjectTemplate.SetTeam 2

Properties used with this type of object:
   ObjectTemplate.Create
   ObjectTemplate.ObjectiveName
   ObjectTemplate.SetNetworkableInfo
   ObjectTemplate.SetObjectiveDelay
   ObjectTemplate.SetTargetName
   ObjectTemplate.SetTeam


Go to the ObjectTemplate type list page, ObjectTemplate page, All Types list, Class list, CON file list, or Main scripting page.