SetHasTurretIcon Property

Usage:
   ObjectTemplate.SetHasTurretIcon boolean

Argument values:

argument 1:    1; most commonly 1

Description: If this property is set to 1, then a turret and tank direction indicator is drawn, in the bottom center of the HUD, when you are in this vehicle.

See the HUD Icon Tutorial for details.

Related properties: AddTemplate, GUIIndex, HasRestrictedExit, SetCrossHairType, SetMinimapIcon, SetNumberOfWeaponIcons, SetPrimaryAmmoBar, SetPrimaryAmmoIcon, SetSoldierExitLocation, SetToolTipType, SetVehicleCategory, SetVehicleIcon, SetVehicleIconPos

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

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

Parent directory of these .con files: objects/Vehicles

Example: (from objects/Vehicles/Land/M3Grant/Objects.con)
   rem *** M3Grant ***
   ObjectTemplate.Create PlayerControlObject M3Grant
   ObjectTemplate.NameTagOffset 0/-0.3/0
   ObjectTemplate.SetNetworkableInfo M3GrantBodyInfo
   ObjectTemplate.SaveInSeparateFile 1
   ObjectTemplate.CullRadiusScale 5
   ObjectTemplate.HasMobilePhysics 1
   ObjectTemplate.HasDynamicShadow 1
   ObjectTemplate.ExplosionRadius 8
   ObjectTemplate.ExplosionDamage 5
   ObjectTemplate.ExitTimer 1
   ObjectTemplate.Drag 2
   ObjectTemplate.Mass 25000
   ObjectTemplate.HasCollisionPhysics 1
   ObjectTemplate.HasResponsePhysics 1
   ObjectTemplate.HasArmor 1
   ObjectTemplate.Hitpoints 80
   ObjectTemplate.Maxhitpoints 80
   ObjectTemplate.Material 50
   ObjectTemplate.SpeedMod 1
   ObjectTemplate.CriticalDamage 12
   ObjectTemplate.HpLostWhileCriticalDamage 1.5
   ObjectTemplate.ExplosionForceMod 13
   ObjectTemplate.HpLostWhileUpSideDown 10
   ObjectTemplate.HpLostWhileDamageFromWater 10
   ObjectTemplate.AddArmorEffect 50 e_PanzDamage 0/0.9/-1.8
   ObjectTemplate.AddArmorEffect 12 e_PanzFire 0/1.2/-1.4
   ObjectTemplate.AddArmorEffect 0 e_ExplGas 0/0/0
   ObjectTemplate.AddArmorEffect 0 e_scrapmetal 0/0/0
   ObjectTemplate.AddArmorEffect 0 e_scrapmetalsmoke 0/0/0
   ObjectTemplate.AddArmorEffect -1 WaterWaterExplosion 0/0/0
   ObjectTemplate.DamageFromWater 1
   ObjectTemplate.AiTemplate M3Grant
   rem -------------------------------------
   ObjectTemplate.AddTemplate lodM3Grant
   rem -------------------------------------
   ObjectTemplate.SetSoldierExitLocation -2/0.5/0 0/0/0
   ObjectTemplate.GUIIndex 25
   ObjectTemplate.SetVehicleIcon "Vehicle/Icon_m3grant.tga"
   ObjectTemplate.SetVehicleIconPos 55/88
   ObjectTemplate.SetNumberOfWeaponIcons 1
   ObjectTemplate.SetPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
   ObjectTemplate.SetPrimaryAmmoBar ABAmmoBarReloadBar
   ObjectTemplate.SetHasTurretIcon 1
   ObjectTemplate.SetCrossHairType CHTIcon
   ObjectTemplate.SetVehicleCategory VCLand
   ObjectTemplate.SetVehicleType VTArmoredCar
   ObjectTemplate.SetToolTipType TTArmoredCar
   ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_tank_16x16.tga"
   ObjectTemplate.HasRestrictedExit 1


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