What is the difference between ServerTravel and OpenLevel?
I got to know the two functions However, you do not know the difference between the two functions
ServerTravel ex) GetWorld()->ServerTravel(FString("/Game/Maps/StrategyMenu"));
OpenLevel ex) UGameplayStatics::OpenLevel(GWorld, "battlemap", false, "");
OpenLevel calls SetClientTravel, which will disconnect any clients and act like a client. It throws away any state information and doesn't work with seamless travel
If you call ServerTravel on a multiplayer server, any connected clients will attempt to connect along with the server. It also allows the use of SeamlessTravel, which allows things like player controllers to stay alive across maps.
So basically use ServerTravel if you're a server and may have connected clients
answered Jun 13 '14 at 09:17 PM
[Epic]Ben Zeigler STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here