Jump to content
  • 0

Music fade out in one specific area


Desdinova

Question

Is there a way to make my main music track fade out in one area and then have a new one fade in, and vice versa when exiting? Using UDMF

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 0
Posted (edited)
On 3/1/2024 at 12:01 PM, Kan3 said:

You can use SetMusicVolume in a script (the page shows exactly an example of what you're asking :D)

It's telling me that the identifier has not been declared.. Any solutions for this? 

1733151854_Screenshot(231).png.b3c2a8b20eac287ba59e26c654668dd0.png

 

Edited by Desdinova
edit

Share this post


Link to post
  • 0
Posted (edited)

declare musicVolume below the #include statements:

 

int musicVolume = 1.0;

 

Edited by URROVA

Share this post


Link to post
  • 0
2 minutes ago, URROVA said:

declare musicVolume below the #include statements:

 


int musicVolume = 1.0;

 

It worked, thank you

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...