SetSfxSpeed

Category: Audio

Back to System Functions


Signature

SetSfxSpeed(sfxReference As Integer, speed As Double)

Returns

Void

Description

Sets the playback speed multiplier used by a loaded sound effect.

A value of 1.0 is normal speed. Values greater than 1.0 play faster, and positive values below 1.0 play slower.

Example

SetSfxSpeed(engineSfx, 0.75)