Skip to content

PlayerController

Class in Engine · Engine.PlayerController · config, native

Object › Actor › Controller › PlayerController

Subclasses: Admin, GamePlayerController

Using it from Lua
h7.find_all("PlayerController")            -- live instances
h7.find_class("Engine.PlayerController")   -- the class
h7.hook("Engine.PlayerController.AcknowledgePossession", fn)

Constants

NameValue
CLIENTADJUSTUPDATECOST180.0
MAXCLIENTUPDATEINTERVAL0.25
MAXNEARZEROVELOCITYSQUARED9.0
MAXPOSITIONERRORSQUARED3.0
MAXVEHICLEPOSITIONERRORSQUARED900.0

Enums

EInputMatchAction

IMA_GreaterThan = 0, IMA_LessThan = 1

EInputTypes

IT_XAxis = 0, IT_YAxis = 1

EProgressMessageType

PMT_Clear = 0, PMT_Information = 1, PMT_AdminMessage = 2, PMT_DownloadProgress = 3, PMT_ConnectionFailure = 4, PMT_PeerConnectionFailure = 5, PMT_PeerHostMigrationFailure = 6, PMT_SocketFailure = 7

Structs

ClientAdjustment

FieldType
TimeStampfloat
newPhysicsEPhysics
NewLocvector
NewVelvector
NewBaseactor
NewFloorvector
bAckGoodMovebyte

ConnectedPeerInfo

FieldType
PlayerIdUniqueNetId
NATTypeENATType
bLostConnectionToHostbool

DebugTextInfo

FieldType
SrcActorActor
SrcActorOffsetvector
SrcActorDesiredOffsetvector
DebugTextstring
TimeRemainingfloat
Durationfloat
TextColorcolor
bAbsoluteLocationbool
bKeepAttachedToActorbool
OrigActorLocationvector
FontFont

InputEntry

FieldType
TypeEInputTypes
Valuefloat
TimeDeltafloat
ActionEInputMatchAction

InputMatchRequest

FieldType
Inputsarray<InputEntry>
MatchActorActor
MatchFuncNameName
FailedFuncNameName
RequestNameName
MatchIdxint
LastMatchTimefloat

Properties

NameTypeNotes
AcknowledgedPawnpawn
bAimingHelpboolglobalconfig
bBlockCameraAnimsFromOverridingPostProcessbool
bCameraCutbooltransient
bCameraPositionLockedbool
bCheatFlyingbool
bCheckRelevancyThroughPortalsboolglobalconfig
bCheckSoundOcclusionbool
bCinemaDisableInputLookbool
bCinemaDisableInputMovebool
bCinematicModebool
bClientSimulatingViewTargetbool
bDebugCameraAnimsbool
bDebugClientAdjustPositionbool
bDoubleJumpbool
bDuckbyte
BestNextHostPeersarray<UniqueNetId>
bFrozenbool
bHasVoiceHandshakeCompletedbool
bIgnoreLookInputbyte
bIgnoreMoveInputbyte
bIgnoreNetworkMessagesbool
bInteractiveModebool
bIsControllerConnectedbool
bIsExternalUIOpenbool
bIsUsingStreamingVolumesbool
BlendedTargetViewRotationrotator
bLogHearSoundOverflowboolglobalconfig
bNeverSwitchOnPickupboolglobalconfig
bPendingDestroyboolconst
bPressedJumpbool
bReplicateAllPawnsbool
bRunbyte
bShortConnectTimeOutbool
bShowKismetDrawTextboolconfig
bUpdatePositionbool
bUpdatingbool
bWasSaturatedboolconst
bWasSpeedHackbool
CameraClassclass<Camera>const
CheatClassclass<CheatManager>
CheatManagerCheatManagertransient
ClientCapint
ClientUpdateTimefloat
ConnectedPeersarray<ConnectedPeerInfo>
ControllingDirTrackInstInterpTrackInstDirectortransient
CurrentTimeStampfloat
CylinderComponentCylinderComponent
DebugTextListarray<DebugTextInfo>private
DefaultFOVfloat
DelayedJoinSessionNamename
DesiredFOVfloat
DoubleClickDireDoubleClickDir
DynamicPingThresholdfloat
FailedPathStartvectorconst
ForceFeedbackManagerForceFeedbackManagertransient
ForceFeedbackManagerClassNamestringconfig
FOVAnglefloatprotected
FreeMovesSavedMove
GameplayVoiceMuteListarray<UniqueNetId>
GroundPitchint
HearSoundActiveComponentsarray<AudioComponent>
HearSoundPoolComponentsarray<AudioComponent>
HiddenActorsarray<Actor>
InputClassclass<PlayerInput>
InputRequestsarray<InputMatchRequest>
InteractDistancefloatconfig
Interactionsarray<interaction>transient
LastAckedAccelvector
LastActiveTimefloat
LastBroadcastStringstring[4]
LastBroadcastTimefloat
LastPingUpdatefloat
LastSpectatorStateSynchTimefloat
LastSpeedHackLogfloat
LastUpdateTimefloat
LODDistanceFactorfloatconst
MaxConcurrentHearSoundsintglobalconfig
MaxResponseTimefloat
MaxTimeMarginfloat
MigratedSearchToJoinOnlineGameSearch
MinRespawnDelayfloat
MyCoverReplicatorCoverReplicator
myHUDHUD
mySecondaryHUDHUD
NetPlayerIndexbyteconst
OnlinePlayerDataUIDataStore_OnlinePlayerData
OnlineSubOnlineSubsystem
PendingAdjustmentClientAdjustment
PendingMapChangeLevelNamesarray
PendingMoveSavedMove
PendingSwapConnectionNetConnectionconst
PlayerPlayerconst
PlayerCameraCamera
PlayerInputPlayerInputtransient
PreviousControllingDirTrackInstInterpTrackInstDirectortransient
RealViewTargetPlayerReplicationInfo
SavedMoveClassclass<SavedMove>
SavedMovesSavedMove
ServerTimeStampfloat
SpectatorCameraSpeedfloat
TargetEyeHeightfloat
TargetViewRotationrotator
TimeMarginfloat
ViewTargetactorconst
VoiceInterfaceOnlineVoiceInterface
VoiceMuteListarray<UniqueNetId>
VoicePacketFilterarray<UniqueNetId>
WaitDelayfloat

Functions

NameDeclaration
AcknowledgePossessionfunction AcknowledgePossession(Pawn P)
AddCheatsfunction AddCheats(optional bool bForce)
AddDebugTextreliable client event AddDebugText(string DebugText, optional Actor SrcActor, optional float Duration = -1.f, optional vector Offset, optional vector DesiredOffset, optional color TextColor, optional bool bSkipOverwriteCheck, optional bool bAbsoluteLocation, optional bool bKeepAttachedToActor = TRUE, optional Font InFont)
AddPeerevent AddPeer(UniqueNetId PeerNetId, ENATType NATType)
AdjustFOVfunction AdjustFOV(float DeltaTime)
AdjustHUDRenderSizeevent AdjustHUDRenderSize(out int X, out int Y, out int SizeX, out int SizeY, const int FullScreenSizeX, const int FullScreenSizeY)
AdjustPlayerWalkingMoveAccelfunction AdjustPlayerWalkingMoveAccel(out vector NewAccel)
AimHelpDotfunction float AimHelpDot(bool bInstantHit)
AimingHelpfunction bool AimingHelp(bool bInstantHit)
AllowTextMessagefunction bool AllowTextMessage(string Msg)
AllowTTSMessageFromprivate simulated function bool AllowTTSMessageFrom(PlayerReplicationInfo PRI)
AskForPawnreliable server function AskForPawn()
BugItexec event BugIt(optional string ScreenShotDescription)
BugItAIexec event BugItAI(optional string ScreenShotDescription)
BugItGoexec function BugItGo(coerce float X, coerce float Y, coerce float Z, coerce int Pitch, coerce int Yaw, coerce int Roll)
BugItGoStringfunction BugItGoString(string TheLocation, string TheRotation)
BugItStringCreatorexec event BugItStringCreator(const out Vector ViewLocation, const out Rotator ViewRotation, out String GoString, out String LocString)
BugItWorkerfunction BugItWorker(vector TheLocation, rotator TheRotation)
CallServerMovefunction CallServerMove(SavedMove NewMove, vector ClientLoc, byte ClientRoll, int View, SavedMove OldMove)
Cameraexec function Camera(name NewMode)
CameraLookAtFinishedevent CameraLookAtFinished(SeqAct_CameraLookAt Action)
CameraTransitionFinishedevent CameraTransitionFinished()
CanAllPlayersPlayOnlinefunction bool CanAllPlayersPlayOnline()
CanCommunicateprivate simulated function bool CanCommunicate()
CanRestartPlayerfunction bool CanRestartPlayer()
CanUnpausedelegate bool CanUnpause()
CanUnpauseControllerConnectedfunction bool CanUnpauseControllerConnected()
CanUnpauseExternalUIfunction bool CanUnpauseExternalUI()
CanViewUserCreatedContentfunction bool CanViewUserCreatedContent()
CauseEventexec function CauseEvent(optional Name EventName)
CEexec function CE(optional Name EventName)
ChangeTeamexec function ChangeTeam(optional string TeamName)
CheckJumpOrDuckfunction CheckJumpOrDuck()
CheckSpeedHackfinal native function bool CheckSpeedHack(float DeltaTime)
CleanOutSavedMovesfunction CleanOutSavedMoves()
CleanUpAudioComponentsnative function CleanUpAudioComponents()
CleanupPawnfunction CleanupPawn()
CleanupPRIfunction CleanupPRI()
ClearAckedMovesfunction ClearAckedMoves()
ClearInviteDelegatesfunction ClearInviteDelegates()
ClearOnlineDelegatesevent ClearOnlineDelegates()
ClientAckGoodMoveunreliable client function ClientAckGoodMove(float TimeStamp)
ClientAddTextureStreamingLocfinal native reliable client event ClientAddTextureStreamingLoc(vector InLoc, float Duration, bool bOverrideLocation)
ClientAdjustPositionunreliable client function ClientAdjustPosition(float TimeStamp, name newState, EPhysics newPhysics, float NewLocX, float NewLocY, float NewLocZ, float NewVelX, float NewVelY, float NewVelZ, Actor NewBase)
ClientAdminMessagereliable client function ClientAdminMessage(string Msg)
ClientArbitratedMatchEndedreliable client function ClientArbitratedMatchEnded()
ClientCancelPendingMapChangereliable client event ClientCancelPendingMapChange()
ClientCapBandwidthreliable client function ClientCapBandwidth(int Cap)
ClientClearKismetTextfinal reliable client function ClientClearKismetText(Vector2D MessageOffset)
ClientCommitMapChangereliable client event ClientCommitMapChange()
ClientControlMovieTexturereliable client function ClientControlMovieTexture(TextureMovie MovieTexture, SeqAct_ControlMovieTexture.EMovieControlType Mode)
ClientConvolveprivate final native reliable client event ClientConvolve(string C, int H)
ClientDrawKismetTextfinal reliable client function ClientDrawKismetText(KismetDrawTextInfo DrawTextInfo, float DisplayTime)
ClientEndOnlineGamereliable client function ClientEndOnlineGame()
ClientFlushLevelStreamingfinal native reliable client event ClientFlushLevelStreaming()
ClientForceGarbageCollectionreliable client event ClientForceGarbageCollection()
ClientGameEndedreliable client function ClientGameEnded(Actor EndGameFocus, bool bIsWinner)
ClientGotoStatereliable client function ClientGotoState(name NewState, optional name NewLabel)
ClientHearSoundunreliable client event ClientHearSound(SoundCue ASound, Actor SourceActor, vector SourceLocation, bool bStopWhenOwnerDestroyed, optional bool bIsOccluded)
ClientIgnoreLookInputreliable client function ClientIgnoreLookInput(bool bIgnore)
ClientIgnoreMoveInputreliable client function ClientIgnoreMoveInput(bool bIgnore)
ClientInitializeDataStoresreliable client function ClientInitializeDataStores()
ClientMessagereliable client event ClientMessage(coerce string S, optional Name Type, optional float MsgLifeTime)
ClientMutePlayerreliable client event ClientMutePlayer(UniqueNetId PlayerNetId)
ClientNotifyPartyHostLeavingreliable client function ClientNotifyPartyHostLeaving(UniqueNetId PartyHostPlayerId)
ClientPauseRumblereliable client function ClientPauseRumble(bool bShouldPauseRumble)
ClientPlayActorFaceFXAnimreliable client function ClientPlayActorFaceFXAnim(Actor SourceActor, FaceFXAnimSet AnimSet, string GroupName, string SeqName, SoundCue SoundCueToPlay)
ClientPlayCameraAnimunreliable client event ClientPlayCameraAnim(CameraAnim AnimToPlay, optional float Scale = 1.f, optional float Rate = 1.f, optional float BlendInTime, optional float BlendOutTime, optional bool bLoop, optional bool bRandomStartTime, optional ECameraAnimPlaySpace Space = CAPS_CameraLocal, optional rotator CustomPlaySpace)
ClientPlayCameraShakeunreliable client function ClientPlayCameraShake(CameraShake Shake, optional float Scale = 1.f, optional bool bTryForceFeedback, optional ECameraAnimPlaySpace PlaySpace = CAPS_CameraLocal, optional rotator UserPlaySpaceRot)
ClientPlayForceFeedbackWaveformreliable client event ClientPlayForceFeedbackWaveform(ForceFeedbackWaveform FFWaveform, optional Actor FFWaveformInstigator)
ClientPlaySoundunreliable client event ClientPlaySound(SoundCue ASound)
ClientPrepareMapChangereliable client event ClientPrepareMapChange(name LevelName, bool bFirst, bool bLast)
ClientPrestreamTexturesreliable client event ClientPrestreamTextures(Actor ForcedActor, float ForceDuration, bool bEnableStreaming, optional int CinematicTextureGroups = 0)
ClientRegisterForArbitrationreliable client function ClientRegisterForArbitration()
ClientRegisterHostStatGuidreliable client function ClientRegisterHostStatGuid(string StatGuid)
ClientResetreliable client function ClientReset()
ClientRestartreliable client function ClientRestart(Pawn NewPawn)
ClientReturnToPartyreliable client function ClientReturnToParty(UniqueNetId RequestingPlayerId)
ClientSetBlockOnAsyncLoadingreliable client event ClientSetBlockOnAsyncLoading()
ClientSetCameraFadereliable client event ClientSetCameraFade(bool bEnableFading, optional color FadeColor, optional vector2d FadeAlpha, optional float FadeTime, optional bool bFadeAudio)
ClientSetCameraModereliable client function ClientSetCameraMode(name NewCamMode)
ClientSetCinematicModereliable client function ClientSetCinematicMode(bool bInCinematicMode, bool bAffectsMovement, bool bAffectsTurning, bool bAffectsHUD)
ClientSetForceMipLevelsToBeResidentreliable client event ClientSetForceMipLevelsToBeResident(MaterialInterface Material, float ForceDuration, optional int CinematicTextureGroups)
ClientSetHostUniqueIdreliable client function ClientSetHostUniqueId(UniqueNetId InHostId)
ClientSetHUDreliable client function ClientSetHUD(class<HUD> newHUDType)
ClientSetOnlineStatusreliable client function ClientSetOnlineStatus()
ClientSetProgressMessagereliable client event ClientSetProgressMessage(EProgressMessageType MessageType, string Message, optional string Title, optional bool bIgnoreFutureNetworkMessages)
ClientSetSecondaryHUDreliable client function ClientSetSecondaryHUD(class<HUD> newHUDType)
ClientSetViewTargetreliable client event ClientSetViewTarget(Actor A, optional ViewTargetTransitionParams TransitionParams)
ClientSpawnCameraLensEffectunreliable client event ClientSpawnCameraLensEffect(class<EmitterCameraLensEffectBase> LensEffectEmitterClass)
ClientStartNetworkedVoicereliable client function ClientStartNetworkedVoice()
ClientStartOnlineGamereliable client function ClientStartOnlineGame()
ClientStopCameraAnimreliable client event ClientStopCameraAnim(CameraAnim AnimToStop, optional bool bImmediate)
ClientStopCameraShakeunreliable client function ClientStopCameraShake(CameraShake Shake)
ClientStopForceFeedbackWaveformfinal reliable client event ClientStopForceFeedbackWaveform(optional ForceFeedbackWaveform FFWaveform)
ClientStopNetworkedVoicereliable client function ClientStopNetworkedVoice()
ClientTravelnative reliable client event ClientTravel(string URL, ETravelType TravelType, optional bool bSeamless = false, optional init Guid MapPackageGuid)
ClientTravelToSessionreliable client function ClientTravelToSession(name SessionName, class<OnlineGameSearch> SearchClass, byte PlatformSpecificInfo[80])
ClientUnmutePlayerreliable client event ClientUnmutePlayer(UniqueNetId PlayerNetId)
ClientUpdateBestNextHostsreliable client function ClientUpdateBestNextHosts(UniqueNetId SortedNextHosts[10], byte NumEntries)
ClientUpdateLevelStreamingStatusnative reliable client function ClientUpdateLevelStreamingStatus(Name PackageName, bool bNewShouldBeLoaded, bool bNewShouldBeVisible, bool bNewShouldBlockOnLoad)
ClientUpdatePositionfunction ClientUpdatePosition()
ClientVoiceHandshakeCompletereliable client function ClientVoiceHandshakeComplete()
ClientWaitForLevelsVisiblereliable client function ClientWaitForLevelsVisible(SeqAct_WaitForLevelsVisible InAction)
ClientWasKickedreliable client event ClientWasKicked()
ClientWriteLeaderboardStatsreliable client function ClientWriteLeaderboardStats(class<OnlineStatsWrite> OnlineStatsWriteClass, optional bool bIsIncomplete = false)
ClientWriteOnlinePlayerScoresreliable client function ClientWriteOnlinePlayerScores(int LeaderboardId)
CompressAccelfunction int CompressAccel(int C)
ConditionalPauseevent ConditionalPause(bool bDesiredPauseState)
ConsoleCommandnative function string ConsoleCommand(string Command, optional bool bWriteToLog = true)
CopyToClipboardnative function CopyToClipboard(string Text)
CreateTTSSoundCueprivate native simulated function SoundCue CreateTTSSoundCue(string StrToSpeak, PlayerReplicationInfo PRI)
DebugCameraAnimsexec function DebugCameraAnims()
DelayedPrepareMapChangefunction DelayedPrepareMapChange()
Destroyedevent Destroyed()
DisableActorHeadTrackingunreliable client function DisableActorHeadTracking(Actor TargetActor)
DisableDebugAIfunction DisableDebugAI()
DisplayDebugsimulated function DisplayDebug(HUD HUD, out float out_YL, out float out_YPos)
DoForceFeedbackForScreenShakeprotected simulated function DoForceFeedbackForScreenShake(CameraShake ShakeData, float ShakeScale)
DrawDebugTextListfinal simulated function DrawDebugTextList(Canvas Canvas, float RenderDelta)
DrawHUDfunction DrawHUD(HUD H)
DualServerMoveunreliable server function DualServerMove(float TimeStamp0, vector InAccel0, byte PendingFlags, int View0, float TimeStamp, vector InAccel, vector ClientLoc, byte NewFlags, byte ClientRoll, int View)
EnableActorHeadTrackingunreliable client function EnableActorHeadTracking(Actor TargetActor, name TrackControllerName[10], class ActorClassesToLookAt[10], bool bLookAtPawns, float MinLookAtTime, float MaxLookAtTime, float MaxInterestTime, float LookAtActorRadius, name TargetBoneNames[10])
EnableCheatsexec function EnableCheats()
EnterStartStatefunction EnterStartState()
FellOutOfWorldsimulated event FellOutOfWorld(class<DamageType> dmgType)
FindConnectedPeerIndexfinal function int FindConnectedPeerIndex(UniqueNetId PeerNetId)
FindStairRotationfinal native function int FindStairRotation(float DeltaTime)
FindVehicleToDrivefunction bool FindVehicleToDrive()
FixFOVfunction FixFOV()
ForceClearUnpauseDelegatesfunction ForceClearUnpauseDelegates()
ForceDeathUpdatefunction ForceDeathUpdate()
ForceSingleNetUpdateForfinal native function ForceSingleNetUpdateFor(Actor Target)
FOVexec function FOV(float F)
GameHasEndedfunction GameHasEnded(optional Actor EndGameFocus, optional bool bIsWinner)
GameplayMutePlayerfunction GameplayMutePlayer(UniqueNetId PlayerNetId)
GameplayUnmutePlayerfunction GameplayUnmutePlayer(UniqueNetId PlayerNetId)
GetAchievementProgressionevent bool GetAchievementProgression(int AchievementId, out float CurrentValue, out float MaxValue)
GetAdjustedAimForfunction Rotator GetAdjustedAimFor(Weapon W, vector StartFireLoc)
GetCurrentSearchClassfunction class<OnlineGameSearch> GetCurrentSearchClass()
GetDefaultURLfinal native function string GetDefaultURL(string Option)
GetFOVAngleevent float GetFOVAngle()
GetFreeMovefinal function SavedMove GetFreeMove()
GetNewPeerHostURLfunction string GetNewPeerHostURL()
GetNextViewablePlayerfunction PlayerReplicationInfo GetNextViewablePlayer(int dir)
GetOnlineSubsystemfinal simulated function OnlineSubsystem GetOnlineSubsystem()
GetPartyGameTypeNamestatic function string GetPartyGameTypeName()
GetPartyMapNamestatic function string GetPartyMapName()
GetPlayerControllerFromNetIdstatic native function PlayerController GetPlayerControllerFromNetId(UniqueNetId PlayerNetId)
GetPlayerNetworkAddressfinal native function string GetPlayerNetworkAddress()
GetPlayerViewPointsimulated event GetPlayerViewPoint(out vector out_Location, out Rotator out_Rotation)
GetPooledAudioComponentnative function AudioComponent GetPooledAudioComponent(SoundCue ASound, Actor SourceActor, bool bStopWhenOwnerDestroyed, optional bool bUseLocation, optional vector SourceLocation)
GetPRIFromNetIdfunction PlayerReplicationInfo GetPRIFromNetId(UniqueNetId PlayerId)
GetRegisteredPlayersInSessionfunction GetRegisteredPlayersInSession(name SessionName, out array<UniqueNetId> OutRegisteredPlayers)
GetSeamlessTravelActorListevent GetSeamlessTravelActorList(bool bToEntry, out array<Actor> ActorList)
GetServerMoveDeltaTimefunction float GetServerMoveDeltaTime(float TimeStamp)
GetServerNetworkAddressfinal native function string GetServerNetworkAddress()
GetSplitscreenPlayerByIndexsimulated function PlayerReplicationInfo GetSplitscreenPlayerByIndex(optional int PlayerIndex = 1)
GetSplitscreenPlayerCountsimulated function int GetSplitscreenPlayerCount()
GetTriggerUseListfunction GetTriggerUseList(float interactDistanceToCheck, float crosshairDist, float minDot, bool bUsuableOnly, out array<Trigger> out_useList)
GetUIControllerfinal function UIInteraction GetUIController()
GetViewTargetnative function Actor GetViewTarget()
GivePawnreliable client function GivePawn(Pawn NewPawn)
HandlePickupfunction HandlePickup(Inventory Inv)
HandleWalkingfunction HandleWalking()
HasClientLoadedCurrentWorldfinal native function bool HasClientLoadedCurrentWorld()
HasPeerConnectionnative function bool HasPeerConnection(const out UniqueNetId PeerNetId)
HearSoundFinishedsimulated function HearSoundFinished(AudioComponent AC)
IgnoreLookInputfunction IgnoreLookInput(bool bNewLookInput)
IgnoreMoveInputfunction IgnoreMoveInput(bool bNewMoveInput)
IncrementNumberOfMatchesPlayedfunction IncrementNumberOfMatchesPlayed()
InitInputSystemevent InitInputSystem()
InputMatchDelegatedelegate InputMatchDelegate()
InviteHasEnoughSpacefunction bool InviteHasEnoughSpace(OnlineGameSettings InviteSettings)
IsBestHostPeerfunction bool IsBestHostPeer(UniqueNetId PeerNetId)
IsClosestLocalPlayerToActorsimulated function bool IsClosestLocalPlayerToActor(Actor TheActor)
IsControllerTiltActivenative simulated function bool IsControllerTiltActive()
IsForceFeedbackAllowedsimulated function bool IsForceFeedbackAllowed()
IsKeyboardAvailablenative simulated function bool IsKeyboardAvailable()
IsLocalControllernative function bool IsLocalController()
IsLocalPlayerControllernative function bool IsLocalPlayerController()
IsLookInputIgnoredevent bool IsLookInputIgnored()
IsMouseAvailablenative simulated function bool IsMouseAvailable()
IsMoveInputIgnoredevent bool IsMoveInputIgnored()
IsPartyLeadersimulated function bool IsPartyLeader()
IsPausedfinal simulated function bool IsPaused()
IsPlayerMutedfinal native function bool IsPlayerMuted(const out UniqueNetId Sender)
IsPrimaryPlayerfinal simulated function bool IsPrimaryPlayer()
IsShowingSubtitlesnative simulated function bool IsShowingSubtitles()
IsSpectatingfunction bool IsSpectating()
IsSplitscreenPlayerfinal simulated function bool IsSplitscreenPlayer(optional out int out_SplitscreenPlayerIndex)
KickWarningevent KickWarning()
Kismet_ClientPlaySoundreliable client event Kismet_ClientPlaySound(SoundCue ASound, Actor SourceActor, float VolumeMultiplier, float PitchMultiplier, float FadeInTime, bool bSuppressSubtitles, bool bSuppressSpatialization)
Kismet_ClientStopSoundreliable client event Kismet_ClientStopSound(SoundCue ASound, Actor SourceActor, float FadeOutTime)
LevelStreamingStatusChangedfinal event LevelStreamingStatusChanged(LevelStreaming LevelObject, bool bNewShouldBeLoaded, bool bNewShouldBeVisible, bool bNewShouldBlockOnLoad)
LimitViewRotationevent Rotator LimitViewRotation(Rotator ViewRotation, float ViewPitchMin, float ViewPitchMax)
ListCEexec function ListCE()
ListConsoleEventsexec function ListConsoleEvents()
LocalTravelexec function LocalTravel(string URL)
LogLocexec function LogLoc()
LogOutBugItAIGoToLogFileprivate native function LogOutBugItAIGoToLogFile(const String InScreenShotDesc, const string InGoString, const string InLocString)
LogOutBugItGoToLogFileprivate native function LogOutBugItGoToLogFile(const String InScreenShotDesc, const string InGoString, const string InLocString)
LongClientAdjustPositionunreliable client function LongClientAdjustPosition(float TimeStamp, name newState, EPhysics newPhysics, float NewLocX, float NewLocY, float NewLocZ, float NewVelX, float NewVelY, float NewVelZ, Actor NewBase, float NewFloorX, float NewFloorY, float NewFloorZ)
MigrateNewHostevent bool MigrateNewHost()
ModifyClientURLfunction string ModifyClientURL(string URL)
MoveAutonomousfunction MoveAutonomous(float DeltaTime, byte CompressedFlags, vector newAccel, rotator DeltaRot)
Mutateexec function Mutate(string MutateString)
NextWeaponexec function NextWeapon()
NotifyChangedWeaponfunction NotifyChangedWeapon(Weapon PreviousWeapon, Weapon NewWeapon)
NotifyDirectorControlevent NotifyDirectorControl(bool bNowControlling, SeqAct_Interp CurrentMatinee)
NotifyDisconnectevent bool NotifyDisconnect(string Command)
NotifyHostMigrationStartedsimulated function NotifyHostMigrationStarted()
NotifyInviteFailedfunction NotifyInviteFailed()
NotifyLandedevent bool NotifyLanded(vector HitNormal, Actor FloorActor)
NotifyLoadedWorldevent NotifyLoadedWorld(name WorldPackageName, bool bFinalDest)
NotifyNotAllPlayersCanJoinInvitefunction NotifyNotAllPlayersCanJoinInvite()
NotifyNotEnoughSpaceInInvitefunction NotifyNotEnoughSpaceInInvite()
NotifyPeerDisconnectHostevent NotifyPeerDisconnectHost(UniqueNetId PeerNetId)
NotifyTakeHitfunction NotifyTakeHit(Controller InstigatedBy, vector HitLocation, int Damage, class<DamageType> damageType, vector Momentum)
OldServerMoveunreliable server function OldServerMove(float OldTimeStamp, byte OldAccelX, byte OldAccelY, byte OldAccelZ, byte OldMoveFlags)
OnArbitrationRegisterCompletefunction OnArbitrationRegisterComplete(name SessionName, bool bWasSuccessful)
OnCameraShakefunction OnCameraShake(SeqAct_CameraShake inAction)
OnConsoleCommandfunction OnConsoleCommand(SeqAct_ConsoleCommand inAction)
OnControllerChangedfunction OnControllerChanged(int ControllerId, bool bIsConnected)
OnDestroysimulated function OnDestroy(SeqAct_Destroy Action)
OnDestroyForInviteCompletefunction OnDestroyForInviteComplete(name SessionName, bool bWasSuccessful)
OnDrawTextfunction OnDrawText(SeqAct_DrawText inAction)
OnEndForInviteCompletefunction OnEndForInviteComplete(name SessionName, bool bWasSuccessful)
OnEngineInitialTickevent OnEngineInitialTick()
OnExternalUIChangedfunction OnExternalUIChanged(bool bIsOpening)
OnFlyThroughHasEndedsimulated function OnFlyThroughHasEnded(SeqAct_FlyThroughHasEnded InAction)
OnForceFeedbackfunction OnForceFeedback(SeqAct_ForceFeedback Action)
OnGameInviteAcceptedfunction OnGameInviteAccepted(const out OnlineGameSearchResult InviteResult)
OnHostMigratedOnlineGamefunction OnHostMigratedOnlineGame(name SessionName, bool bWasSuccessful)
OnInviteJoinCompletefunction OnInviteJoinComplete(name SessionName, bool bWasSuccessful)
OnJoinMigratedGamefunction OnJoinMigratedGame(name SessionName, bool bWasSuccessful)
OnJoinTravelToSessionCompletefunction OnJoinTravelToSessionComplete(name SessionName, bool bWasSuccessful)
OnMissingPeersUnregistereddelegate OnMissingPeersUnregistered(name SessionName, UniqueNetId PlayerId, bool bWasSuccessful)
OnPartyMemberListChangedfunction OnPartyMemberListChanged(bool bJoinedOrLeft, string PlayerName, UniqueNetId PlayerId)
OnPartyMembersInfoChangedfunction OnPartyMembersInfoChanged(string PlayerName, UniqueNetId PlayerId, int CustomData1, int CustomData2, int CustomData3, int CustomData4)
OnRegisterHostStatGuidCompletefunction OnRegisterHostStatGuidComplete(bool bWasSuccessful)
OnSetCameraTargetsimulated function OnSetCameraTarget(SeqAct_SetCameraTarget inAction)
OnSetSoundModefunction OnSetSoundMode(SeqAct_SetSoundMode Action)
OnToggleCinematicModefunction OnToggleCinematicMode(SeqAct_ToggleCinematicMode Action)
OnToggleHUDsimulated function OnToggleHUD(SeqAct_ToggleHUD inAction)
OnToggleInputfunction OnToggleInput(SeqAct_ToggleInput inAction)
OnUnregisterPlayerCompleteForHostMigratefunction OnUnregisterPlayerCompleteForHostMigrate(name SessionName, UniqueNetId PlayerId, bool bWasSuccessful)
OnUnregisterPlayerCompleteForJoinMigratefunction OnUnregisterPlayerCompleteForJoinMigrate(name SessionName, UniqueNetId PlayerId, bool bWasSuccessful)
PasteFromClipboardnative function string PasteFromClipboard()
PathChildexec function PathChild(optional int Cnt)
PathClearexec function PathClear()
PathStepexec function PathStep(optional int Cnt)
Pauseexec function Pause()
PauseRumbleForAllPlayersfunction PauseRumbleForAllPlayers(optional bool bShouldPauseRumble = true)
PawnDiedfunction PawnDied(Pawn P)
PeerDesignatedAsClientfunction PeerDesignatedAsClient(name SessionName)
PeerDesignatedAsHostfunction PeerDesignatedAsHost(name SessionName)
PeerReceivedMigratedSessionevent PeerReceivedMigratedSession(UniqueNetId FromPeerNetId, name SessionName, class<OnlineGameSearch> SearchClass, byte PlatformSpecificInfo[80])
PeerTravelAsHostnative function PeerTravelAsHost(float TravelCountdownTimer, string URL)
PerformedUseActionfunction bool PerformedUseAction()
PlayBeepSoundfunction PlayBeepSound()
PlayerMovefunction PlayerMove(float DeltaTime)
PlayerTickevent PlayerTick(float DeltaTime)
PlayRumbleevent PlayRumble(const AnimNotify_Rumble TheAnimNotify)
Possessevent Possess(Pawn aPawn, bool bVehicleTransition)
PostBeginPlaysimulated event PostBeginPlay()
PostControllerIdChangefunction PostControllerIdChange()
PreClientTravelevent PreClientTravel(string PendingURL, ETravelType TravelType, bool bIsSeamlessTravel)
PreControllerIdChangefunction PreControllerIdChange()
PreJoinUpdateGameSettingssimulated function PreJoinUpdateGameSettings(name SessionName, OnlineGameSettings GameSettings)
PreRenderevent PreRender(Canvas Canvas)
PrevWeaponexec function PrevWeapon()
ProcessDrivefunction ProcessDrive(float InForward, float InStrafe, float InUp, bool InJump)
ProcessMovefunction ProcessMove(float DeltaTime, vector newAccel, eDoubleClickDir DoubleClickMove, rotator DeltaRot)
ProcessViewRotationfunction ProcessViewRotation(float DeltaTime, out Rotator out_ViewRotation, Rotator DeltaRot)
REexec function RE(optional name EventName)
ReceivedGameClasssimulated function ReceivedGameClass(class<GameInfo> GameClass)
ReceivedPlayersimulated event ReceivedPlayer()
ReceiveLocalizedMessagereliable client event ReceiveLocalizedMessage(class<LocalMessage> Message, optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject)
RegisterCustomPlayerDataStoresprotected simulated function RegisterCustomPlayerDataStores()
RegisterOnlineDelegatesfunction RegisterOnlineDelegates()
RegisterPlayerDataStoresfinal simulated function RegisterPlayerDataStores()
RegisterStandardPlayerDataStoresprotected simulated function RegisterStandardPlayerDataStores()
ReloadProfileSettingssimulated function ReloadProfileSettings()
RemoteEventexec function RemoteEvent(optional name EventName)
RemoveAllDebugStringsfinal reliable client event RemoveAllDebugStrings()
RemoveDebugTextfinal reliable client event RemoveDebugText(Actor SrcActor)
RemoveMissingPeersFromSessionfunction bool RemoveMissingPeersFromSession(name SessionName)
RemovePeerevent RemovePeer(UniqueNetId PeerNetId)
ReplicateMovefunction ReplicateMove(float DeltaTime, vector NewAccel, eDoubleClickDir DoubleClickMove, rotator DeltaRot)
Resetfunction Reset()
ResetCameraModeevent ResetCameraMode()
ResetFOVfunction ResetFOV()
ResetPlayerMovementInputfunction ResetPlayerMovementInput()
ResetTimeMarginfunction ResetTimeMargin()
Restartfunction Restart(bool bVehicleTransition)
RestartLevelexec function RestartLevel()
SaveActorConfigexec function SaveActorConfig(coerce Name actorName)
SaveClassConfigexec function SaveClassConfig(coerce string className)
Sayexec function Say(string Msg)
SeamlessTravelFromfunction SeamlessTravelFrom(PlayerController OldPC)
SeamlessTravelTofunction SeamlessTravelTo(PlayerController NewPC)
SendClientAdjustmentevent SendClientAdjustment()
Sentinel_PostAcquireTravelTheWorldPointsfunction Sentinel_PostAcquireTravelTheWorldPoints()
Sentinel_PreAcquireTravelTheWorldPointsfunction Sentinel_PreAcquireTravelTheWorldPoints()
Sentinel_SetupForGamebasedTravelTheWorldfunction Sentinel_SetupForGamebasedTravelTheWorld()
ServerAcknowledgePossessionreliable server function ServerAcknowledgePossession(Pawn P)
ServerAddPeerreliable server function ServerAddPeer(UniqueNetId PeerNetId, ENATType NATType)
ServerCamerareliable server function ServerCamera(name NewMode)
ServerCauseEventunreliable server function ServerCauseEvent(Name EventName)
ServerChangeNamereliable server function ServerChangeName(coerce string S)
ServerChangeTeamreliable server function ServerChangeTeam(int N)
ServerDriveunreliable server function ServerDrive(float InForward, float InStrafe, float aUp, bool InJump, int View)
ServerGivePawnfunction ServerGivePawn()
ServerMoveunreliable server function ServerMove(float TimeStamp, vector InAccel, vector ClientLoc, byte MoveFlags, byte ClientRoll, int View)
ServerMoveHandleClientErrorfunction ServerMoveHandleClientError(float TimeStamp, vector Accel, vector ClientLoc)
ServerMutatereliable server function ServerMutate(string MutateString)
ServerMutePlayerreliable server event ServerMutePlayer(UniqueNetId PlayerNetId)
ServerNotifyLoadedWorldfinal native reliable server event ServerNotifyLoadedWorld(name WorldPackageName)
ServerNotifyPartyHostLeavingreliable server function ServerNotifyPartyHostLeaving(UniqueNetId PartyHostPlayerId)
ServerPausereliable server function ServerPause()
ServerProcessConvolveprivate final native reliable server event ServerProcessConvolve(string C, int H)
ServerRegisterClientStatGuidreliable server function ServerRegisterClientStatGuid(string StatGuid)
ServerRegisteredForArbitrationreliable server function ServerRegisteredForArbitration(bool bWasSuccessful)
ServerRemoteEventunreliable server function ServerRemoteEvent(name EventName)
ServerRemovePeerreliable server function ServerRemovePeer(UniqueNetId PeerNetId)
ServerRestartGamereliable server function ServerRestartGame()
ServerSayunreliable server function ServerSay(string Msg)
ServerSetSpectatorLocationunreliable server function ServerSetSpectatorLocation(vector NewLoc)
ServerShortTimeoutreliable server function ServerShortTimeout()
ServerSpeechreliable server function ServerSpeech(name Type, int Index, string Callsign)
ServerSuicidereliable server function ServerSuicide()
ServerTeamSayunreliable server function ServerTeamSay(string Msg)
ServerThrowWeaponreliable server function ServerThrowWeapon()
ServerUnmutePlayerreliable server event ServerUnmutePlayer(UniqueNetId PlayerNetId)
ServerUpdateCameraunreliable server function ServerUpdateCamera(vector CamLoc, int CamPitchAndYaw)
ServerUpdateLevelVisibilityfinal native reliable server event ServerUpdateLevelVisibility(name PackageName, bool bIsVisible)
ServerUpdatePingunreliable server function ServerUpdatePing(int NewPing)
ServerUseunreliable server function ServerUse()
ServerUTracereliable server function ServerUTrace()
ServerVerifyViewTargetreliable server function ServerVerifyViewTarget()
ServerViewNextPlayerunreliable server function ServerViewNextPlayer()
ServerViewPrevPlayerunreliable server function ServerViewPrevPlayer()
ServerViewSelfunreliable server function ServerViewSelf(optional ViewTargetTransitionParams TransitionParams)
SetAllowMatureLanguagenative function SetAllowMatureLanguage(bool bAllowMatureLanguge)
SetAudioGroupVolumenative exec function SetAudioGroupVolume(name GroupName, float Volume)
SetCameraModefunction SetCameraMode(name NewCamMode)
SetCinematicModefunction SetCinematicMode(bool bInCinematicMode, bool bHidePlayer, bool bAffectsHUD, bool bAffectsMovement, bool bAffectsTurning, bool bAffectsButtons)
SetControllerTiltActivenative simulated function SetControllerTiltActive(bool bActive)
SetFOVfunction SetFOV(float NewFOV)
SetMatineeConstantCameraAnimevent SetMatineeConstantCameraAnim(bool bOn, byte Type, float Rate)
SetNameexec function SetName(coerce string S)
SetNetSpeedfinal native function SetNetSpeed(int NewSpeed)
SetOnlyUseControllerTiltInputnative simulated function SetOnlyUseControllerTiltInput(bool bActive)
SetPausefunction bool SetPause(bool bPause)
SetRumbleScalefinal function SetRumbleScale(float ScaleBy)
SetShowSubtitlesnative simulated exec function SetShowSubtitles(bool bValue)
SetTiltActiveexec function SetTiltActive(bool bActive)
SetUseTiltForwardAndBacknative simulated function SetUseTiltForwardAndBack(bool bActive)
SetViewTargetnative function SetViewTarget(Actor NewViewTarget, optional ViewTargetTransitionParams TransitionParams)
SetViewTargetWithBlendfinal function SetViewTargetWithBlend(Actor NewViewTarget, optional float BlendTime = 0.35, optional EViewTargetBlendFunction BlendFunc = VTBlend_Cubic, optional float BlendExp = 2.f, optional bool bLockOutgoing = FALSE)
ShortClientAdjustPositionunreliable client function ShortClientAdjustPosition(float TimeStamp, name newState, EPhysics newPhysics, float NewLocX, float NewLocY, float NewLocZ, Actor NewBase)
ShowGameStateexec function ShowGameState()
ShowPlayerStateexec function ShowPlayerState()
SkipPositionUpdateForRMfunction bool SkipPositionUpdateForRM()
SoakPauseevent SoakPause(Pawn P)
SpawnCoverReplicatorfunction CoverReplicator SpawnCoverReplicator()
SpawnDefaultHUDfunction SpawnDefaultHUD()
SpawnPlayerCameraevent SpawnPlayerCamera()
SpeakTTSsimulated function SpeakTTS(coerce string S, optional PlayerReplicationInfo PRI)
Speechexec function Speech(name Type, int Index, string Callsign)
StartAltFireexec function StartAltFire(optional Byte FireModeNum)
StartFireexec function StartFire(optional byte FireModeNum)
StopAltFireexec function StopAltFire(optional byte FireModeNum)
StopFireexec function StopFire(optional byte FireModeNum)
Suicideexec function Suicide()
SwitchLevelexec function SwitchLevel(string URL)
SwitchTeamexec function SwitchTeam()
Talkexec function Talk()
TeamMessagereliable client event TeamMessage(PlayerReplicationInfo PRI, coerce string S, name Type, optional float MsgLifeTime)
TeamSayexec function TeamSay(string Msg)
TeamTalkexec function TeamTalk()
TellPeerToTravelnative function TellPeerToTravel(UniqueNetId ToPeerNetId)
TellPeerToTravelToSessionnative function TellPeerToTravelToSession(UniqueNetId ToPeerNetId, name SessionName, class<OnlineGameSearch> SearchClass, byte PlatformSpecificInfo[80], int PlatformSpecificInfoSize)
ThrowWeaponexec function ThrowWeapon()
TriggerInteractedfunction bool TriggerInteracted()
UnPossessevent UnPossess()
UnregisterPlayerDataStoressimulated function UnregisterPlayerDataStores()
UnregisterStandardPlayerDataStoressimulated function UnregisterStandardPlayerDataStores()
UpdatePingfinal function UpdatePing(float TimeStamp)
UpdateRotationfunction UpdateRotation(float DeltaTime)
UpdateStateFromAdjustmentfunction UpdateStateFromAdjustment(name NewState)
UpdateURLfinal native function UpdateURL(string NewOption, string NewValue, bool bSave1Default)
Useexec function Use()
UsingFirstPersonCamerafunction bool UsingFirstPersonCamera()
UTraceexec function UTrace()
VeryShortClientAdjustPositionunreliable client function VeryShortClientAdjustPosition(float TimeStamp, float NewLocX, float NewLocY, float NewLocZ, Actor NewBase)
ViewAPlayerfunction ViewAPlayer(int dir)
ViewShakefunction ViewShake(float DeltaTime)
WwiseClientHearSoundfunction WwiseClientHearSound(Object ASound, Object SourceActor, struct SourceLocation, bool bIsOccluded, bool bStopWhenOwnerDestroyed) (no declaration: types are approximate)

States

State code replaces the class's functions while the object is in that state. Hook a state's version as Engine.PlayerController.<State>.<Function>.

StateFunctions
BaseSpectatingBeginState, EndState, IsSpectating, LimitSpectatorVelocity, PlayerMove, ProcessMove, ReplicateMove, ServerSetSpectatorLocation
DeadBeginState, EndState, FindGoodView, IsDead, Jump, PlayerMove, ReplicatedEvent, ServerMove, ServerReStartPlayer, StartFire, ThrowWeapon, Timer, Use
ignores SeePlayer, HearNoise, KilledBy, NextWeapon, PrevWeapon
PlayerClimbingBeginState, EndState, NotifyPhysicsVolumeChange, PlayerMove, ProcessMove
ignores SeePlayer, HearNoise, Bump
PlayerDrivingBeginState, EndState, PlayerMove, ProcessDrive, ProcessMove, ServerUse
ignores SeePlayer, HearNoise, Bump
PlayerFlyingBeginState, PlayerMove
ignores SeePlayer, HearNoise, Bump
PlayerSwimmingBeginState, NotifyLanded, NotifyPhysicsVolumeChange, PlayerMove, ProcessMove, Timer
ignores SeePlayer, HearNoise, Bump
PlayerWaiting extends BaseSpectatingBeginState, EndState, Jump, ServerChangeTeam, ServerRestartPlayer, ServerSuicide, StartFire, Suicide
ignores SeePlayer, HearNoise, NotifyBump, TakeDamage, PhysicsVolumeChange, NextWeapon, PrevWeapon, SwitchToBestWeapon
PlayerWalkingBeginState, EndState, NotifyPhysicsVolumeChange, PlayerMove, ProcessMove
ignores SeePlayer, HearNoise, Bump
RoundEndedBeginState, EndState, FindGoodView, IsSpectating, LongClientAdjustPosition, PlayerMove, Possess, ServerMove, ServerReStartGame, ServerReStartPlayer, StartFire, ThrowWeapon, Timer, Use
ignores SeePlayer, HearNoise, KilledBy, NotifyBump, HitWall, NotifyHeadVolumeChange, NotifyPhysicsVolumeChange, Falling, TakeDamage, Suicide
Spectating extends BaseSpectatingBeginState, EndState, StartAltFire, StartFire
ignores RestartLevel, Suicide, ThrowWeapon, NotifyPhysicsVolumeChange, NotifyHeadVolumeChange
WaitingForPawn extends BaseSpectatingBeginState, ClientGotoState, EndState, LongClientAdjustPosition, PlayerTick, ReplicateMove, StartFire, Timer
ignores SeePlayer, HearNoise, KilledBy

Default values

CollisionComponent=CollisionCylinder
CylinderComponent=CollisionCylinder
bInteractiveMode=true
FOVAngle=85.000
NetPriority=3
bIsPlayer=true
bCanDoSpecial=true
Physics=PHYS_None
CheatClass=class'Engine.CheatManager'
InputClass=class'Engine.PlayerInput'
CameraClass=class'Camera'
MaxResponseTime=0.125
ClientCap=0
LastSpeedHackLog=-100.0
SavedMoveClass=class'SavedMove'
DesiredFOV=85.000000
DefaultFOV=85.000000
LODDistanceFactor=1.0
bCinemaDisableInputMove=false
bCinemaDisableInputLook=false
bIsUsingStreamingVolumes=TRUE
SpectatorCameraSpeed=600.0
MinRespawnDelay=1.0

Inherited

FromMembers
Controller62 properties, 129 functions
Actor156 properties, 262 functions
Object13 properties, 308 functions