Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AGameModeBase
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/GameModeBase.h |
| Include | #include "GameFramework/GameModeBase.h" |
UFUNCTION (BlueprintNativeEvent, Category=Game)
AActor * ChoosePlayerStart
(
AController * Player
)
Remarks
Return the 'best' player start for this player to spawn from Default implementation looks for a random unoccupied spot AActor chosen as player start (usually a PlayerStart)
Parameters
| Name | Description |
|---|---|
| Player | is the controller for whom we are choosing a playerstart |