Category: Audio
LoopSfx(sfxReference As Integer, loop As Boolean)
Void
Starts playback of a loaded sound effect and applies the supplied loop mode.
Pass True to keep the sound effect looping until it is stopped. Pass False to restart it as a one-shot sound.
If the sound effect is already playing, it restarts from the beginning.
LoopSfx(engineSfx, True)
LoopSfx(engineSfx, False)