Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UGameplayStatics
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/GameplayStatics.h |
Include | #include "Kismet/GameplayStatics.h" |
Source | /Engine/Source/Runtime/Engine/Private/GameplayStatics.cpp |
UFUNCTION (BlueprintCallable,
Meta=(WorldContext="WorldContextObject", AdvancedDisplay="2", DisplayName="Open Level (by Name)"),
Category="Game")
static void OpenLevel
(
const UObject * WorldContextObject,
FName LevelName,
bool bAbsolute,
FString Options
)
Remarks
Travel to another level
Parameters
Name | Description |
---|---|
LevelName | the level to open |
bAbsolute | if true options are reset, if false options are carried over from current level |
Options | a string of options to use for the travel URL |