So here is how the current sound proc works.
Example.midi being the name of the soundfile and the extensions that BYOND supports...
1 being to repeat
1 being to wait for the current sound to wait
8 to play on chennal 8
and 100 to play at full volume.
What I would like to see is an extra var, a delay time. This way to make codeing a bit easier. It will delay itself for x amount of milliseconds before repeating itself again. :)
ex, sound('example.midi',1,1,8,100,600) //Play every minute.
Copyright © 2015 BYOND. All rights reserved.