Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Royal_Sir

ZDoom: How to stop music tracks mid-level?

Recommended Posts

I have an idea for a creepy level, but it hinges on the ability to stop the map music track in-level by walking over a trigger.

Is that possible to do, and if so, how?

Share this post


Link to post

Oh, okay then.

If I want an absence of music to be played, do I have to make a silent MIDI file to replace the current track or is there a function in the code that can simply stop the track?

Share this post


Link to post

Empty quotes should do the trick.

SetMusic("");
It works with ChangeMus console command at least, so I hope it works with SetMusic too.

Share this post


Link to post
scifista42 said:

Empty quotes should do the trick.

SetMusic("");
It works with ChangeMus console command at least

The "stopmus" CCMD is a bit more efficient for this. :P

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×