diff --git a/gamemaker/scripts/FAudioGMS_Scripts/FAudioGMS_Scripts.gml b/gamemaker/scripts/FAudioGMS_Scripts/FAudioGMS_Scripts.gml index 686abd6..151070c 100644 --- a/gamemaker/scripts/FAudioGMS_Scripts/FAudioGMS_Scripts.gml +++ b/gamemaker/scripts/FAudioGMS_Scripts/FAudioGMS_Scripts.gml @@ -149,6 +149,8 @@ function SoundInstance(_soundInstanceID) constructor FAudioGMS_SoundInstance_SetTrackPosition(soundInstanceID, seconds); } + // Sets loop points for the sound instance. + // MUST Be called before Play. static SetLoopPoints = function(loopStartInMilliseconds, loopEndInMilliseconds) { FAudioGMS_SoundInstance_SetLoopPoints(soundInstanceID, loopStartInMilliseconds, loopEndInMilliseconds);