AGameModeBase::RestartPlayer

Tries to spawn the player's pawn, at the location returned by FindPlayerStart

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/GameModeBase.h

Include

#include "GameFramework/GameModeBase.h"

Source

/Engine/Source/Runtime/Engine/Private/GameModeBase.cpp

Syntax

virtual void RestartPlayer
(
    AController * NewPlayer
)

Remarks

Tries to spawn the player's pawn, at the location returned by FindPlayerStart

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