SetInputToPitch Property

Usage:
   ObjectTemplate.SetInputToPitch name

Argument values:

argument 1:    1, 4, 5, c_PIMenuSelect3, c_PIMouseLookX, c_PIMouseLookY, c_PINone, c_PIPitch, c_PIRoll, c_PIThrottle, c_PIYaw; most commonly c_PIMouseLookY

Description: Sets which keys control the second value of the x/y/z values of the object, the pitch (up/down) 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, SetInputToYaw

Used in object types (and how often in each type): Camera (51%), FloatingBundle (10%), RotationalBundle (34%), Wing (60%)

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

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

Example: (from objects/Vehicles/Air/Goblin/Physics.con)
   rem *** GoblinRudderBackVertical ***
   ObjectTemplate.Create Wing GoblinRudderBackVertical
   ObjectTemplate.SetNetworkableInfo Goblin_wing_info
   ObjectTemplate.SetMinRotation 0/-15/0
   ObjectTemplate.SetMaxRotation 0/15/0
   ObjectTemplate.SetMaxSpeed 0/60/0
   ObjectTemplate.SetAcceleration 0/60/0
   ObjectTemplate.SetInputToPitch c_PIYaw
   ObjectTemplate.SetAutomaticReset 1
   ObjectTemplate.SetPositionOffset 0/-0.5/0
   ObjectTemplate.SetWingLift 1.5
   ObjectTemplate.SetFlapLift 1.5


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