Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Kismet > API/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 Object Reference)"),
Category="Game")
static void OpenLevelBySoftObjectPtr
(
const UObject * WorldContextObject,
const TSoftObjectPtr < UWorld > Level,
bool bAbsolute,
FString Options
)
Remarks
Travel to another level
Parameters
| Name | Description |
|---|---|
| Level | 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 |