SetSoundFadeOut

From Onset Developer Wiki
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