UGameInstance::PlayReplay

Start playing back a previously recorded replay.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/GameInstance.h

Include

#include "Engine/GameInstance.h"

Source

/Engine/Source/Runtime/Engine/Private/GameInstance.cpp

Syntax

virtual bool PlayReplay
(
    const FString & InName,
    UWorld * WorldOverride,
    const TArray< FString > & AdditionalOptions
)

Remarks

Start playing back a previously recorded replay.

Returns

True if the replay began successfully.

Parameters

Parameter

Description

InName

Name of the replay file.

WorldOverride

World in which the replay will be played. Passing null will cause the current world to be used.

AdditionalOptions

Additional options that can be read by derived game instances, or the Demo Net Driver.

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