Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Stopping looped sounds
« previous
next »
Print
Pages: [
1
]
Author
Topic: Stopping looped sounds (Read 508 times)
Xalos
March 17, 2014, 03:53:31 AM
I know it's been done, and I also know it requires a client-sided component to do. I haven't actually been able to find the add-on that did it, so does anyone know how to stop a looping sound started from the server vie GameConnection.play2D()?
Ad Bot
Advertisement
Port
March 17, 2014, 04:54:47 AM
Use
handle = alxPlay(profile)
and
alxStop(handle)
on the client. (requires client and server)
Create a 2D AudioEmitter object on the server. (server only, global sound)
Use
player.playAudio(slot, profile)
and
player.stopAudio(slot)
. (server only, 3D sound)
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Stopping looped sounds