SetSoundFadeIn
From Onset Developer Wiki
Description
Set the sound to fade in.
Syntax
SetSoundFadeIn(sound [, Duration, VolumeLevel, StartTime])
Parameters
- sound
The sound identifier. - Duration
The duration of the fade in effect. - VolumeLevel
The volume for the sound to fade to. - StartTime (optional)
The duration after which you need the effect to take place.
Return Value
- Returns true on success, false on error.
Example
SetSoundFadeIn(soundId, 1000, 0, 2000)