mob
var
sound/sound = 'petrol.wav'
Login()
..()
src.sound = sound(src.sound)
src.sound.repeat = 1
src.sound.channel = 1
src << src.sound
proc/UpdateSound(velocity)
src.sound.frequency = 0.5
src.sound.status |= SOUND_UPDATE
src << src.sound
Problem description:
Okay, so the way this is setup it should start the sound playing repeatedly on channel 1 as soon as the player logs in. Then, whenever UpdateSound() is called, it should change the frequency of the sound to 0.5, which should effectively make the sound start playing at half the speed. Instead, it just makes the sound stop.
Am I doing something wrong here, or is this a bug, or does BYOND simply not support changing sound frequency at runtime?
Lummox JR