UGameplayStatics::LoadGameFromSlot

Load the contents from a given slot.

Windows
MacOS
Linux

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

Syntax

static USaveGame * LoadGameFromSlot
(
    const FString & SlotName,
    const int32 UserIndex
)

Remarks

Load the contents from a given slot.

Returns

Object containing loaded game state (nullptr if load fails)

Parameters

Parameter

Description

SlotName

Name of the save game slot to load from.

UserIndex

For some platforms, master user index to identify the user doing the loading.

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