InputToYaw Property [Vietnam]

Usage:
   ObjectTemplate.InputToYaw name

Argument values:

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

Description: This property is used exclusively in Battlefield Vietnam. Equivalent to SetInputToYaw.

Related properties: Acceleration

Used in object types (and how often in each type): Camera (22%), Engine (5%), RotationalBundle (12%)

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

Parent directories of these .con files: vietnamObjects/Vehicles, vietnamObjects/HandWeapons

Example: (from vietnamObjects/Vehicles/Land/M113/Physics.con)
   rem *** M113Engine ***
   ObjectTemplate.Create Engine M113LandEngine
   ObjectTemplate.NetworkableInfo M113EngineInfo
   ObjectTemplate.AttachToListener 1
   ObjectTemplate.LoadSoundScript Sounds/BTR60Engine.ssc
   ObjectTemplate.HasMobilePhysics 1
   ObjectTemplate.HasCollisionPhysics 1
   ObjectTemplate.HasResponsePhysics 1
   rem -------------------------------------
   ObjectTemplate.AddTemplate M113_Tracks_L_M1
   ObjectTemplate.SetPosition 0/0/0
   ObjectTemplate.AddTemplate M113_Tracks_R_M1
   ObjectTemplate.SetPosition 0/0/0
   rem -------------------------------------
   ObjectTemplate.MinRotation -1/0/-1
   ObjectTemplate.MaxRotation 1/0/1
   ObjectTemplate.MaxSpeed 4/0/10
   ObjectTemplate.Acceleration 4/0/10
   ObjectTemplate.InputToYaw c_PIYaw
   ObjectTemplate.InputToRoll c_PIThrottle
   ObjectTemplate.AutomaticReset 1
   ObjectTemplate.EngineType c_ETTank
   ObjectTemplate.Torque 4.0
   ObjectTemplate.Differential 4.0
   ObjectTemplate.NumberOfGears 5
   ObjectTemplate.GearUp 0.95
   ObjectTemplate.GearDown 0.45
   ObjectTemplate.GearChangeTime 0.05


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