Deprecated
UPackage::Guid has not been used by the engine for a long time. Please use SeamlessTravel without a NextMapGuid.
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/World.h |
Include |
#include "Engine/World.h" |
Source |
/Engine/Source/Runtime/Engine/Private/World.cpp |
Seamlessly travels to the given URL by first loading the entry level in the background, switching to it, and then loading the specified level. Does not disrupt network communication or disconnect clients. You may need to implement GameModeBase::GetSeamlessTravelActorList(), PlayerController::GetSeamlessTravelActorList(), GameModeBase::PostSeamlessTravel(), and/or GameModeBase::HandleSeamlessTravelPlayer() to handle preserving any information that should be maintained (player teams, etc) This codepath is designed for worlds that use little or no level streaming and GameModes where the game state is reset/reloaded when transitioning. (like UT)
seamlessly travels to the given URL by first loading the entry level in the background, switching to it, and then loading the specified level. Does not disrupt network communication or disconnect clients. You may need to implement GameMode::GetSeamlessTravelActorList(), PlayerController::GetSeamlessTravelActorList(), GameMode::PostSeamlessTravel(), and/or GameMode::HandleSeamlessTravelPlayer() to handle preserving any information that should be maintained (player teams, etc) This codepath is designed for worlds that use little or no level streaming and GameModes where the game state is reset/reloaded when transitioning. (like UT)
Parameter |
Description |
---|---|
URL |
the URL to travel to; must be on the same server as the current URL |
bAbsolute |
(opt) - if true, URL is absolute, otherwise relative |
MapPackageGuid |
(opt) - the GUID of the map package to travel to - this is used to find the file when it has been auto-downloaded, so it is only needed for clients |
URL |
the URL to travel to; must be relative to the current URL (same server) |
bAbsolute |
(opt) - if true, URL is absolute, otherwise relative |
MapPackageGuid |
(opt) - the GUID of the map package to travel to - this is used to find the file when it has been autodownloaded, so it is only needed for clients |