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

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


SetEngineVolume( <scale> )

Module: Vehicles
SP Only

Summary:

Scales the volume of engine sound for this vehicle. This is useful for ramping up sounds of newly spawned vehicles.


Call this on: a vehicle

Example:

helicopter SetEngineVolume( 0.5 );

Required arguments:

  1. <scale> Scales thet total volume of the vehicle.


Optional arguments:

none


Notes:

none