Call of Duty 4: Scripting Reference - Vehicles::SetMaxPitchRoll

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Jump to: navigation, search


SetMaxPitchRoll( <pitch>, <roll> )

Module: Vehicles

Summary:

Sets max pitch and roll angle for this vehicle.


Call this on: a vehicle

Example:

self SetMaxPitchRoll( 30, 30 );

Required arguments:

  1. <pitch> Max pitch angle
  2. <roll> Max roll angle


Optional arguments:

none


Notes:

none