SetName Property

Usage:
   Object.SetName name

Argument values:

argument 1:    ALLIED, AXIS, Factory01, Jeep, ObjectiveSpawner01, ObjectiveSpawner02, ObjectiveSpawner03, ObjectiveSpawner04, ObjectiveSpawner05, RadarTower01, RadarTower02, RadarTower03, RadarTower04, Turbine01, Turbine02, ...

Description: Sets a name for the object, so it can be referenced by other objects. Typically used to set an objective's name, so that the ObjectTemplate.SetTargetName can reference it.

Related properties: Absoluteposition

Used in a total of 47 .con files: Objectivespawners.con, Objectspawns.con, Terrain.con

Parent directory of these .con files: Bf1942/Levels

Example: (from Bf1942/Levels/Midway/Init/Terrain.con)
   Object.Create terrainObject
   Object.SetName track
   Object.Absoluteposition 0/0/0
   Object.Rotation 0/0/0


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