Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > AGameModeBase
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 |
AActor &42; K2_FindPlayerStart
&40;
AController &42; Player,
const FString & IncomingName
&41;
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 Actor chosen as player start (usually a PlayerStart)
Parameters
Name | Description |
---|---|
Player | The AController for whom we are choosing a Player Start |
IncomingName | Specifies the tag of a Player Start to use |