DirBarRotate Property

Usage:
   ObjectTemplate.DirBarRotate number

Argument values:

argument 1:    180

Description: For the artillery view, set on the battleship and destroyer guns.

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

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

Parent directory of these .con files: objects/Vehicles

Example: (from objects/Vehicles/Sea/fletcher/Objects.con)
   rem *** Fletcher_Back_Canons_PCO ***
   ObjectTemplate.Create PlayerControlObject Fletcher_Back_Canons_PCO
   ObjectTemplate.SetNetworkableInfo FletcherBodyInfo
   ObjectTemplate.AiTemplate FletcherRearGunAI
   rem -------------------------------------
   ObjectTemplate.AddTemplate Fletcher_cannon_Back
   ObjectTemplate.SetPosition -0.095/7.109/-24.224
   ObjectTemplate.SetRotation -179.999/0/0
   ObjectTemplate.AddTemplate Fletcher_cannon
   ObjectTemplate.SetPosition -0.095/3.653/-32.658
   ObjectTemplate.SetRotation -179.999/0/0
   rem -------------------------------------
   ObjectTemplate.SetPcoId 1
   ObjectTemplate.AddPcoPosId 0
   rem ObjectTemplate.addPcoPosId 2
   ObjectTemplate.SetSoldierExitLocation 0.5/4/-26 120/0/0
   ObjectTemplate.GUIIndex 41
   ObjectTemplate.SetVehicleIcon "Vehicle/Icon_fletcher.tga"
   ObjectTemplate.SetVehicleIconPos 30/60
   ObjectTemplate.SetNumberOfWeaponIcons 1
   ObjectTemplate.SetPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
   ObjectTemplate.SetPrimaryAmmoBar ABReloadBarOnly
   ObjectTemplate.SetCrossHairType CHTIcon
   ObjectTemplate.SetVehicleCategory VCSea
   ObjectTemplate.SetVehicleType VTDestroyer
   ObjectTemplate.SetToolTipType TTDestroyer
   ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_destoyer_32x32.tga"
   ObjectTemplate.SetMinimapIconSize 32
   ObjectTemplate.ArtPos 1
   ObjectTemplate.DirBarXScale 120
   ObjectTemplate.DirBarYScaleAbove 60
   ObjectTemplate.DirBarYScaleBelow 10
   ObjectTemplate.DirBarRotate 180
   ObjectTemplate.DirBarYScaleMin -100
   ObjectTemplate.DirBarYScaleMax -30


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