AGameModeBase::K2_FindPlayerStart

Return the specific player start actor that should be used for the next spawn This will either use a previously saved startactor, or calls ChoosePlayerStart

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

AActor * K2_FindPlayerStart
(
    AController * Player,
    const FString & IncomingName
)

Remarks

Return the specific player start actor that should be used for the next spawn This will either use a previously saved startactor, or calls ChoosePlayerStart

Returns

Actor chosen as player start (usually a PlayerStart)

Parameters

Parameter

Description

Player

The AController for whom we are choosing a Player Start

IncomingName

Specifies the tag of a Player Start to use

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