Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
May your rolls be chill this holiday season!
Create a free account

DL Doors and Sound Triggers

I haven't seen anything show up regarding player (or gm) interaction with the dynamic lighting doors and their ability to trigger a sound when interacted with, such as hinges groaning or creaking, blast doors opening, etc. Is this possible in some way?
1765388427
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Geoffrey! It is possible to do this with a script, though that would require the game to be made by a Pro or Elite user.: Door Noise It is impossible AFAIK, to trigger a sound without a Mod script.
keithcurtis said: It is impossible AFAIK, to trigger a sound without a Mod script. That sounds to me like a candidate for a future reaction. 
Not sure where I found it on the forums, but, I use this api script, just substitute the sound file you want to use in where it says 'scifi-door', the mp3 file needs to be uploaded and added to the game. on('ready', () => {     let playSound = function (trackname, action) {         let track = findObjs({ type: 'jukeboxtrack', title: trackname })[0];         if (track) {             track.set('playing', false);             track.set('softstop', false);             if (action == 'play') {                 track.set('playing', true);             }         }         else {             sendChat('Doorsound', '/w gm No Track Found...');             log("No track found " + trackname);         }     }     on("change:door:isOpen", function (obj, prev) {         if (!prev.isSecret) {             if (prev.isOpen) {                 playSound("scifi-door", 'play');             } else {                 playSound("scifi-door", 'play');             }         }     }); });
That's the same script that keithcurtis linked to in his post. (Which I just copied, along with his open-source door sounds)