SetInputToRoll Property

Usage:
   ObjectTemplate.SetInputToRoll name

Argument values:

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

Description: Sets which keys control the third value of the x/y/z values of the object, the roll (tilt) angle or the thrust, for engines. 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, SetInputToYaw

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

Used in a total of 108 .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/Land/Kubelwagen/Objects.con)
   rem *** KubelwagenSteering ***
   ObjectTemplate.Create RotationalBundle KubelwagenSteering
   ObjectTemplate.SetNetworkableInfo KubelwagenSteeringInfo
   rem -------------------------------------
   ObjectTemplate.AddTemplate lodKubelwagenSteering
   ObjectTemplate.AddTemplate KubelwagenSteeringDummy
   rem -------------------------------------
   ObjectTemplate.SetMinRotation 0/0/-60
   ObjectTemplate.SetMaxRotation 0/0/60
   ObjectTemplate.SetMaxSpeed 0/0/480
   ObjectTemplate.SetAcceleration 0/0/-240
   ObjectTemplate.SetInputToRoll c_PIYaw
   ObjectTemplate.SetAutomaticReset 1


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