SetSoundFadeOut

From Onset Developer Wiki
Revision as of 19:33, 31 December 2019 by 28days (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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