Skip to content

Class "MusicManager"⚓︎

Modified Functions⚓︎

Crossfade ()⚓︎

void Crossfade ( Music MusicId, float FadeRate = 0.08 )⚓︎

Now validates the Music ID to prevent crashes.


Fadein ()⚓︎

void Fadein ( Music MusicId, float Volume = 1, float Volume = 0.08 )⚓︎

Now validates the Music ID to prevent crashes.


Play ()⚓︎

void Play ( Music MusicId, int Volume = -1 )⚓︎

Now validates the Music ID to prevent crashes.


Functions⚓︎

GetCurrentJingleID ()⚓︎

Music GetCurrentJingleID ( )⚓︎

Returns the id of the currently playing jingle, or 0 if no jingle is playing/current jingle is fading out.


GetCurrentPitch ()⚓︎

float GetCurrentPitch ( )⚓︎


PlayJingle ()⚓︎

void PlayJingle ( Music MusicId, int Duration = 140 )⚓︎


SetCurrentPitch ()⚓︎

void SetCurrentPitch ( float Pitch )⚓︎


StopJingle ()⚓︎

void StopJingle ( )⚓︎

Force currently playing jingle to immediately fade out.