Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
deathkitty
Apprentice


Joined: 14 Apr 2008
Posts: 105

PostPosted: 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
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net