Usage:
Game.SetBeforeSpawnCameraPosition
number x/y/z
Argument values:
argument 1: | range is 1 to 2; most commonly 1, 2 |
argument 2: | 1009.2499/33.6022/1051.0986, 1010/45/1475, 1082.21/38.943/564.969, 1112.65/85.7732/1014.7, 1118/43/1121, 1140/130/300, 1152/51/557, 1165.21/83.1703/1348.94, 1195/30.2/1443.3, 1201.83/66.8514/892.928, ... |
This property is not a part of any defined type of object.
Used in a total of 35 .con files: Init.con
Parent directory of these .con files: Bf1942/Levels
Example: (from Bf1942/Levels/Peenemunde/Init.con)
ObjectTemplate.AddTemplate AnimatedUSFlag
Game.SetActiveCombatArea 0 0 1792 1792
Game.SetTeamSkin 1 GermanSoldier
Game.SetKit 1 0 German_Scout
Game.SetKit 1 1 German_Assault
Game.SetKit 1 2 German_AT
Game.SetKit 1 3 German_Medic
Game.SetKit 1 4 German_Engineer
Game.SetTeamSkin 2 USSoldier
Game.SetKit 2 0 US_Scout
Game.SetKit 2 1 US_Assault
Game.SetKit 2 2 US_AT
Game.SetKit 2 3 US_Medic
Game.SetKit 2 4 US_Engineer
run Init/SkyAndSun
run Init/Terrain
run Sounds/Environment
rem *** Set team 1 ***
Game.SetBeforeSpawnCameraPosition 1 825/125/900
rem *** Set team 2 ***
Game.SetBeforeSpawnCameraPosition 2 1140/130/300
Go to the Game properties list page, Game page, All Properties list, or Main scripting page.