APlayerState::GetOwningController

Returns the AI or player controller that created this player state, or null for remote clients

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerState.h

Include

#include "GameFramework/PlayerState.h"

Source

/Engine/Source/Runtime/Engine/Private/PlayerState.cpp

Syntax

AController * GetOwningController() const

Remarks

Returns the AI or player controller that created this player state, or null for remote clients

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