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

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


SetDeceleration( <deceleration> )

Module: Vehicles

Summary:

Sets the deceleration for this vehicle.


Call this on: a vehicle

Example:

self SetDeceleration( 5 );

Required arguments:

  1. <deceleration> The deceleration of the vehicle in miles per hour per second


Optional arguments:

none


Notes:

none