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

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


VehForceMaterialSpeed( <true/false>, <speed> )

Module: Vehicles
SP Only

Summary:

Force treads to scroll as if the vehicle was moving at the given speed.


Call this on: a vehicle

Example:

VehForceMaterialSpeed( true, 1000 );
VehForceMaterialSpeed( false );

Required arguments:

  1. (bool) force scrolling


Optional arguments:

  1. scroll speed


Notes:

none