Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Making random quotes
Making random quotes
2001-08-24, 9:05 AM #1
How do I make it so If you press a key a random wave file would play so anyone in a certain range could hear it.
2001-08-24, 2:50 PM #2
in the symbols section define the sound like in
sound1 = blah.wav
sound2 = ug.wav

then use the random verb to get a random number in the range of your number of sounds, assign it to a variable and then use the playsound command and put the following as sound file to play:
sound[randomnumber]

If that's too abstract for you, someone around here will probably be able to come up with a complete cog and I would do it right now but I am too tired, hope that helps for now.

-Raze
--
You are all just jealous because you can't hear the small voices!!

↑ Up to the top!