Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Kismet > API/Runtime/Engine/Kismet/UGameplayStatics
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Kismet/GameplayStatics.h |
| Include | #include "Kismet/GameplayStatics.h" |
| Source | /Engine/Source/Runtime/Engine/Private/GameplayStatics.cpp |
UFUNCTION (BlueprintPure, Category="Game",
Meta=(DisplayName="Get Local Player Controller ID", UnsafeDuringActorConstruction="true"))
static int32 GetPlayerControllerID
(
APlayerController * Player
)
Remarks
Gets what physical controller ID a player is using. This only works for local player controllers. The ID of the passed in player. -1 if there is no physical controller assigned to the passed in player
Parameters
| Name | Description |
|---|---|
| Player | The player controller of the player to get the ID of |