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

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


SetAirResistance( <max air resistance speed> )

Module: Vehicles

Summary:

Sets the speed at which air resistance maxes out.


Call this on: a vehicle

Example:

self SetAirResistance( 60 );

Required arguments:

  1. <max air resistance speed> speed at which air resistance maxes out (MPH)


Optional arguments:

none


Notes:

Air resistance ramps up exponentially up to this speed. Set it to a high value to flatten helicopter when it is done accelerating to move at the desired speed