UWorld::ServerTravel

Jumps the server to new level.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/World.h

Include

#include "Engine/World.h"

Source

/Engine/Source/Runtime/Engine/Private/World.cpp

Syntax

virtual bool ServerTravel
(
    const FString & InURL,
    bool bAbsolute,
    bool bShouldSkipGameNotify
)

Remarks

Jumps the server to new level. If bAbsolute is true and we are using seemless traveling, we will do an absolute travel (URL will be flushed).

Jumps the server to new level. If bAbsolute is true and we are using seamless traveling, we will do an absolute travel (URL will be flushed).

Parameters

Parameter

Description

URL

the URL that we are traveling to

bAbsolute

whether we are using relative or absolute travel

bShouldSkipGameNotify

whether to notify the clients/game or not

URL

the URL that we are traveling to

bAbsolute

whether we are using relative or absolute travel

bShouldSkipGameNotify

whether to notify the clients/game or not

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss