AutomaticYawStabilization Property

Usage:
   ObjectTemplate.AutomaticYawStabilization boolean

Argument values:

argument 1:    1; most commonly 1

Description: When set to 1, it automatically stabilizes the yaw (right and left) rotation. Note that this property also has the name SetAutomaticYawStabilization.

Related properties: AddTemplate, LoadSoundScript, NetworkableInfo

Used in object types (and how often in each type): RotationalBundle (2%)

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

Parent directory of these .con files: objects/Vehicles

Example: (from objects/Vehicles/Land/SturmGeschutz/Objects.con)
   rem ---------------------------------------------------
   rem ***
   rem *** SturmGeschutz MG42Holder
   rem ***
   ObjectTemplate.Create RotationalBundle SturmGeschutzMG42Holder
   ObjectTemplate.NetworkableInfo SturmGeschutzTurretInfo
   ObjectTemplate.Geometry StuGIII_Gunner_m1
   ObjectTemplate.HasCollisionPhysics 1
   rem ObjectTemplate.networkableInfo M3A1MG42HolderInfo
   ObjectTemplate.SetMinRotation 0/0/0
   ObjectTemplate.SetMaxRotation 0/0/0
   ObjectTemplate.SetPivotPosition 0/0/0
   ObjectTemplate.SetMaxSpeed 90/0/0
   ObjectTemplate.SetAcceleration 5000/0/00
   ObjectTemplate.AutomaticYawStabilization 1
   ObjectTemplate.SetInputToYaw c_PIMouseLookX
   ObjectTemplate.SetInputToPitch c_PINone
   ObjectTemplate.SetInputToRoll c_PINone
   rem *** turret sound ***
   ObjectTemplate.LoadSoundScript Sounds/SturmGeschutzTurret.ssc
   rem -------------------------------
   ObjectTemplate.AddTemplate SturmGeschutzMG42Console
   ObjectTemplate.SetPosition 0/0.7/0.5
   ObjectTemplate.AddTemplate SturmGeschutzMG42Seat
   ObjectTemplate.SetPosition 0/0.5/0


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