Desdinova Posted February 29, 2024 Is there any possible way to make my main music track fade out and another fade in, and vice versa when leaving said area? I'm using UDMF 0 Quote Share this post Link to post
Rifleman Posted March 9, 2024 (edited) In the editor under Things/Sector actions you can find Actor enters/leaves sector. Put them in a sector and make them run a script. Or use linedefs to do the same. I used a script like this: int musicVolume = 1.0; Script "Music03" (void) { while(musicVolume > 0) { musicVolume -= 0.025; SetMusicVolume(musicVolume); Delay(1); } SetMusic("D_MAP03"); while(musicVolume < 1.0) { musicVolume += 0.025; SetMusicVolume(musicVolume); Delay(1); } } Edited March 9, 2024 by Rifleman 0 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.