CODE
#Play one of a random array of SE files
def self.play_random_sound(sounds_list)
sound = sounds_list[rand(sounds_list.size)]
Audio.se_play("Audio/SE/"+sound[0], sound[1], sound[2])
#sound[0] = filename
#sound[1] = volume
#sound[2] = pitch
end
def self.play_random_sound(sounds_list)
sound = sounds_list[rand(sounds_list.size)]
Audio.se_play("Audio/SE/"+sound[0], sound[1], sound[2])
#sound[0] = filename
#sound[1] = volume
#sound[2] = pitch
end
Doesn't work for me, even though it's practically copied and pasted from the help manual itself. When I try to play, for example, "Confirm.ogg", I'm told that the game's "Unable to find Audio/SE/Confirm.ogg". I'm pretty much at a loss here - I've also tried making the SE files in the module and then using the play() method in-game, which actually makes more sense, now that I think about it, but I've gotten the same error.
Thanks in advance for the