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

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


SetAcceleration( <acceleration> )

Module: Vehicles

Summary:

Sets the acceleration for this vehicle.


Call this on: a vehicle

Example:

self SetAcceleration( 15 );

Required arguments:

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


Optional arguments:

none


Notes:

none