Ra02 Posted November 11, 2009 So I've downloaded a wav sound that I've imported to my wad trough XWE I tried to play it with script AmbientSound("ALARM1", 100); but nothing happened, how can I fix this, and how can I make it loop until canceled? 0 Share this post Link to post
Enjay Posted November 11, 2009 Define a name for the sound in SNDINFO, define an ambient sound in SNDINFO using the defined name, place the defined sound object in your map, use a script or lines to activate/deactivate the sound item. http://zdoom.org/wiki/SNDINFO eg ALARM DSALARM $ambient 1 ALARM SURROUND CONTINUOUS 1.0 0 Share this post Link to post
Ra02 Posted November 11, 2009 Oh I thought it was just import / write :D ok thanks a lot, I will look at it. Edit: Ok, so it works but it doesn't loop. How can I start the loop and how to stop it then? 0 Share this post Link to post