SetInputToYaw Property

Usage:
   ObjectTemplate.SetInputToYaw name

Argument values:

argument 1:    4, c_PIMenuSelect3, c_PIMouseLookX, c_PINone, c_PIThrottle, c_PIYaw; most commonly c_PIMouseLookX

Description: Sets which keys control the first value of the x/y/z values of the object, the yaw (right/left) angle. The argument maps an input device to change this value:

 c_PIMenuSelect3
 c_PIMouseLookX - horizontal mouse movement
 c_PIMouseLookY - vertical mouse movement
 c_PINone - no input
 c_PIPitch - up and down movement keys (down and up arrow by default)
 c_PIRoll - rudder control
 c_PIThrottle - throttle/forward and backward movement keys (W and S by default)
 c_PIYaw - sideways movement keys (A and D by default)

Related properties: SetInputToPitch, SetInputToRoll

Used in object types (and how often in each type): Camera (51%), Engine (17%), RotationalBundle (33%)

Used in a total of 109 .con files: Objects.con, Physics.con

Parent directories of these .con files: objects/Vehicles, objects/Stationary_Weapons, Bf1942/Levels

Example: (from objects/Vehicles/Land/m3a1/Objects.con)
   rem *** M3A1Browning_Holder ***
   ObjectTemplate.Create RotationalBundle M3A1Browning_Holder
   ObjectTemplate.SetNetworkableInfo M3A1BrowningHolderInfo
   ObjectTemplate.LoadSoundScript Sounds/M3A1Turret.ssc
   ObjectTemplate.Geometry M3A1_Browning_console_M1
   rem -------------------------------------
   ObjectTemplate.AddTemplate M3A1_Browning_console
   ObjectTemplate.SetPosition 0/0.129/-0.709
   ObjectTemplate.AddTemplate M3A1BrowningSeat
   ObjectTemplate.SetRotation -179.999/0/0
   rem -------------------------------------
   ObjectTemplate.SetMaxSpeed 90/0/0
   ObjectTemplate.SetAcceleration 5000/0/0
   ObjectTemplate.SetInputToYaw c_PIMouseLookX
   ObjectTemplate.SetAutomaticYawStabilization 1


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