AGameModeBase::ChoosePlayerStart

Return the 'best' player start for this player to spawn from Default implementation looks for a random unoccupied spot

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/GameModeBase.h"

Syntax

AActor * ChoosePlayerStart
(
    AController * Player
)

Remarks

Return the 'best' player start for this player to spawn from Default implementation looks for a random unoccupied spot

Returns

AActor chosen as player start (usually a PlayerStart)

Parameters

Parameter

Description

Player

is the controller for whom we are choosing a playerstart

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