Interface problems when Open Level

Hello everybody, I would like to ask a question about a problem when opening a level,

I would like to ask about a problem when opening a level. I have managed to open it without PIE problems thanks to the posts on this forum, but now I am having problems with the interface. The case is the following:

I have 3 levels, a base one (0), an island (1) and a newly created one (2).

The idea is that when I start the game, the base level (0) will start with an interface

This interface, in its own interface BP, will start an initial animation that will make buttons (1 and 2) appear.

Buttons that will take me to levels 1 and 2 (Open Level) and that will activate another animation of the same interface, opening the curtains of the same interface to see the level that has just been opened.

What is the problem?

When you click on the buttons:

  1. The new level is not loaded, but it seems to reload the Base Level (0).

  2. The new animation is not activated by removing the curtains, but as the Base Level is reloaded, the initial animation appears again.

Any help is welcome, because I have no idea why this is happening.

Thanks in advance

I would say two things

  1. Double check the names passed to ‘open level’

  2. When you call ‘open level’, all the rest of the code is binned. It will not run. So you need to open then curtains, and then call ‘open level’.

I know that won’t give the effect you want. If you really want to be able to open the curtains on a new level, then you need to use level streaming.

Ahh, I get it I get it

It seemed like bad news at first, but once I got into the stream levels, they are really helpful.

And the energy in the video… I love it.

Thank you so much!

1 Like