 |
lifegod Newbie
Joined: 23 Feb 2004 Posts: 3 Location: USA
|
Posted: Wed Feb 25, 2004 9:36 am
Question about sounds... |
Here is my newest question...
Working on adding in sounds and hoping there is a way to randomize the sound from a trigger. Something like this
Your blood freezes as you hear a death cry!
causes #play c:/scream
BUT, that is cool but getting old so I would like to have 5 sounds that each have a 20% chance of being triggered, anyone know if there is a way to do this |
|
|
 |
nexela Wizard

Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Wed Feb 25, 2004 11:06 am |
might be possible with something like this AKA untested and half asleep
#var battlesounds {c:sound1.wav|c:sound2.wav|more|more|more}
#show %item(@battlesounds,%random(1,%numitems(@battlesounds)))
Plenty of diff ways to do it but that comes off the top of my head :P |
|
|
 |
|
|