Usage:
Object.Create
string name
Argument values:
argument 1: | 0PEN_BASE_ROAD, 0PEN_BASE_crossing, AAGunSpawner, AA_Allies, ALLIESBASE, ALLIESBase2_Cpoint, ALLIESBase_Cpoint, ALLIESBase_supply, ALLIESSpawnPoint_1, ALLIESSpawnPoint_2, ALLIESSpawnPoint_3, ALLIESSpawnPoint_Hangar2, ... |
argument 2: | [optional] blueFlagPole, gebase, redFlagPole |
Description: The Create command is used to inform the scripting engine that a new object is going to be added to the level's map. All properties and commands following a create command will be applied to that object, until another create command or the end of the file is encountered.
The first argument is the unique name of the object. This is used in any object references.
Related properties: AbsolutePosition, Rotation
Used in a total of 606 .con files: Additionalstaticobjects.con, Controlpoints.con, Ctf.con, Cullradius.con, Objectivespawners.con, Objectspawns.con, Objectspawnsallied.con, Objectspawnsaxis.con, Precache.con, Skyandsun.con, Smallwar.con, Soldierspawns.con, Staticobjects.con, Terrain.con
Parent directories of these .con files: Bf1942/Levels, ai
Example: (from Bf1942/Levels/Iwo_Jima/StaticObjects.con)
rem
rem *** ***
rem
Object.Create Coastline
Object.Absoluteposition 1031.28/50/919.64
Object.Rotation 0/0/1.52588e-005
Go to the Object properties list page, Object page, All Properties list, or Main scripting page.