SetActiveCombatArea Property

Usage:
   Game.SetActiveCombatArea number number number number

Argument values:

argument 1:    range is 0 to 1536; most commonly 0
argument 2:    range is 0 to 1536; most commonly 0
argument 3:    range is 416 to 2048; most commonly 1280, 1792
argument 4:    range is 416 to 2048; most commonly 1280, 1792

Description: This property determines the size and offsets for map coordinates, and overrides the setting of GeometryTemplate.WorldSize. The last two numbers are the X and Z scales (which are always the same, since all maps are square). The first two numbers are also important, they are the offsets for X and Z. X and Z are the overhead map's axes, X goes to the right and Z goes up from the lower left corner of the map. (We use X and Z here, since the position of objects is in X/Y/Z.)

See the Map Coordinates Tutorial for more information.

This property is not a part of any defined type of object.

Used in a total of 18 .con files: Init.con

Parent directory of these .con files: Bf1942/Levels

Example: (from Bf1942/Levels/Gothic_Line/Init.con)
   ObjectTemplate.AddTemplate AnimatedUSFlag
   Game.SetActiveCombatArea 128 0 896 896
   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


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