SetSoundFadeOut

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
SetSoundFadeOut

Type: Function
Context: Client
Introduced: v1.0

Description

Set the sound to fade out.

Syntax

SetSoundFadeOut(sound, Duration, VolumeLevel)

Parameters

  • sound
    The sound identifier.
  • Duration
    The duration of the fade out effect.
  • VolumeLevel
    The volume for the sound to fade to.

Return Value

  • Returns true on success, false on error.

Example

SetSoundFadeIn(soundId, 1000, 0)

See also