361259_Up to 75% off Video Game Accessories - Shop GameShark Store Now
Call of Duty 4: Scripting Reference - Vehicles::VehForceMaterialSpeed

From Mods Repository 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