Hey everyone, quick question about movie player, when I call function OpenLevel from Level A to LevelB movie is played but when Level B is loaded and we open it, movie player instantly dissapear, can I make it play all the time even when Level B is opened ? and then close it by calling some function manually ?
There is an option : bAutoCompleteWhenLoadingCompletes
FLoadingScreenAttributes LoadingScreen;
LoadingScreen.bAutoCompleteWhenLoadingCompletes = false; // Ensure it doesn't auto-close when level loads
LoadingScreen.MoviePaths.Add(TEXT("YourMovieFilePath")); // Add your movie file path here
GetMoviePlayer()->SetupLoadingScreen(LoadingScreen); // Setup the movie player with the loading screen
GetMoviePlayer()->PlayMovie(); // Play the movie
// and then OpenLevel
GetMoviePlayer()->StopMovie(); // Stop When you want
If it was helpful, I’d appreciate it if you could mark it as the solution! ![]()
Unfortunetely that solution doesnt work, movie is played during loading but after its done we get blackscreen and new level is shown