AGameModeBase::RestartPlayerAtPlayerStart

Tries to spawn the player's pawn at the specified actor's location

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 RestartPlayerAtPlayerStart
(
    AController * NewPlayer,
    AActor * StartSpot
)

Remarks

Tries to spawn the player's pawn at the specified actor's location

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