UGameplayStatics::SetPlayerControllerID

Sets what controller ID a Player should be using

Windows
MacOS
Linux

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

Syntax

static void SetPlayerControllerID
(
    APlayerController * Player,
    int32 ControllerId
)

Remarks

Sets what controller ID a Player should be using

Parameters

Parameter

Description

Player

The player controller of the player to change the controller ID of

ControllerId

The controller ID to assign to this player

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