Are there any Blueprints that are higher than the Level Blueprints?

I set the level to re-open when the character dies, or to re-open the level by pressing R.


However, if you use this method, the song being played by the LevelBlueprint will also go back to the beginning.
sound
I want the song’s progress to be maintained even when the level is reopened.

The problem with ‘open level’ is it throws everything away. If you’re playing the song in the level, of course it gets binned when you open another level.

Yes, it’s the same level, but everything gets reset.

If you want the music to flow while you change levels, you either have to get into level streaming:

or play the music from the game instance ( easier ):

What type of variable should I use to store the song progress? :slight_smile:

You don’t need to store the progress. If you’re playing the music from the game instance, it won’t get interrupted when you change levels :slight_smile:

2 Likes

It was clear! thank you!

1 Like

Tell me when it works :smiley:


I made construction script :smiley:
And cast to game instance in level blueprint.

but If I execute this construction script without branch, the songs playing overlap.

So I used branch node to check is audio playing now :smiley:

Hmm, nearly… :slight_smile:

In the game instance just put:

and make sure you have your game instance set in the project settings:

That’s all you need :slight_smile:

I admire and appreciate your kindness! :slight_smile:

1 Like

Long time no see. There is a problem. I’m using a Blueprint where the sound persists even when the level is reloaded.

Recently I made a feature that lets you adjust the sound using sliders.

However, I found a bug where the song restarts from the beginning when the slider’s value goes to 0 and then gets bigger again. Do you know why?

Afraid I don’t use sound mix at all :slight_smile:

You’ll probably get more luck with a fresh post.

I solved the problem using this function!
14

1 Like