|
deathkitty Apprentice
Joined: 14 Apr 2008 Posts: 105
|
Posted: Wed May 21, 2008 4:03 pm
looping background sound for a room |
How would I go about making a background sound for a room on the map? Like it plays while you are in the room but stops when you go out (and plays a different sound in the next room, or maybe the same one again depending on what room it is)
Basically I want to put ambient sounds like machinery or birds chirping in particular rooms |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Wed May 21, 2008 5:10 pm |
Hmm, not sure there's a way to detect that a sound file has ended playing...I seem to recall that being a little hangup in the MyTunes or ZAmp scripts for ZMud that connected to ITunes/WinAmp.
You could technically get around that by timing the sound you want to play and then creating an alarm in the room script that sends the appropriate #PLAY or #MEDIA command. |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
|
|