DirBarXScale Property

Usage:
   ObjectTemplate.DirBarXScale number

Argument values:

argument 1:    range is 15 to 120; most commonly 70

Description: Sets the horizontal sensitivity in the artillery view.

Related properties: ArtPos, DirBarYScaleAbove, DirBarYScaleBelow, DirBarYScaleMax

Used in object types (and how often in each type): PlayerControlObject (6%)

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

Parent directory of these .con files: objects/Vehicles

Example: (from objects/Vehicles/Land/Katyusha/Objects.con)
   rem *** Katyusha_PCO1 ***
   ObjectTemplate.Create PlayerControlObject Katyusha_PCO1
   ObjectTemplate.SetNetworkableInfo KatBodyInfo
   ObjectTemplate.AiTemplate KatyushaCannon
   rem -------------------------------------
   ObjectTemplate.AddTemplate Katyusha_Ramp_Rot
   ObjectTemplate.AddTemplate Katyusha_Entry
   ObjectTemplate.SetPosition 0/0/-0.199
   rem -------------------------------------
   ObjectTemplate.SetSoldierExitLocation -1.5/0/0 0/0/0
   ObjectTemplate.GUIIndex 21
   ObjectTemplate.SetVehicleIcon "Vehicle/Icon_katyusha.tga"
   ObjectTemplate.SetVehicleIconPos 35/55
   ObjectTemplate.SetNumberOfWeaponIcons 1
   ObjectTemplate.SetPrimaryAmmoIcon "Ammo/Icon_rocket.tga"
   ObjectTemplate.SetPrimaryAmmoBar ABAmmoBarReloadBar
   ObjectTemplate.SetCrossHairType CHTIcon
   ObjectTemplate.SetVehicleCategory VCLand
   ObjectTemplate.SetVehicleType VTArtillery
   ObjectTemplate.SetToolTipType TTArtillery
   ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_tank_16x16.tga"
   ObjectTemplate.ArtPos 1
   ObjectTemplate.DirBarXScale 70
   ObjectTemplate.DirBarYScaleAbove 37.5
   ObjectTemplate.DirBarYScaleBelow 0
   ObjectTemplate.DirBarYScaleMin -90
   ObjectTemplate.DirBarYScaleMax -45
   ObjectTemplate.HasRestrictedExit 1


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