MagnuM Posted October 10, 2004 How do i get a sound to play when i cross over a particular two sided linedef? Can i tag an ambient sound to it or something of that sort? I just want the sound to play once right after i cross over the linedef. 0 Share this post Link to post
Darkhaven Posted October 10, 2004 #include "zcommon.acs" Script 1 (void) { SndSequence("DSSOUND", 0); } I believe that's right. 0 Share this post Link to post
The Ultimate DooMer Posted October 10, 2004 activatorsound ("sound", volume) plays the sound from where you're standing. (a guarantee of full volume in single player, and very useful in multiplayer) sectorsound ("sound", volume) plays the sound in the sector the line is facing. (not very effective IMO) thingsound (tid, "sound", volume) plays the sound from the appropriate thing. (can be useful, as you can make the sound come from nearby somewhere, like a scream or an explosion) ambientsound ("sound", volume) plays the sound at full volume across the map. (but it must be defined as ambient in sndinfo) All of these use the logical sound names (ie. the ones defined in sndinfo) and volume goes from 0-127. They are internal functions though, so they have to be in a script. 0 Share this post Link to post