Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel
Difference between revisions of "UE3:UTPlayerController instance functions (UT3)"
m (1 revision) |
m (added missing members) |
||
(One intermediate revision by the same user not shown) | |||
Line 168: | Line 168: | ||
====ClearCameraEffect==== | ====ClearCameraEffect==== | ||
{{code|function '''ClearCameraEffect''' ()}} | {{code|function '''ClearCameraEffect''' ()}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====ClearDoubleClick==== | ||
+ | {{code|function '''ClearDoubleClick''' ()}} | ||
+ | |||
+ | '''Overrides:''' {{tl|ClearDoubleClick|PlayerController|instance functions}} | ||
<!-- enter function description --> | <!-- enter function description --> | ||
Line 190: | Line 197: | ||
'''Overrides:''' {{tl|ClientGameEnded|PlayerController|instance functions}} | '''Overrides:''' {{tl|ClientGameEnded|PlayerController|instance functions}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====ClientIncrementAroundTheWorld==== | ||
+ | {{code|reliable client function '''ClientIncrementAroundTheWorld''' ([[int]] '''mapIndex''')}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====ClientIncrementLikeTheBackOfMyHand==== | ||
+ | {{code|reliable client function '''ClientIncrementLikeTheBackOfMyHand''' ([[int]] '''mapIndex''')}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====ClientIncrementMixItUp==== | ||
+ | {{code|reliable client function '''ClientIncrementMixItUp''' ([[int]] '''GameType''', [[int]] '''AchievementType''')}} | ||
<!-- enter function description --> | <!-- enter function description --> | ||
Line 222: | Line 244: | ||
'''Overrides:''' {{tl|ClientReset|PlayerController|instance functions}} | '''Overrides:''' {{tl|ClientReset|PlayerController|instance functions}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====ClientResetMapListPublish==== | ||
+ | {{code|reliable client function '''ClientResetMapListPublish''' ()}} | ||
<!-- enter function description --> | <!-- enter function description --> | ||
Line 291: | Line 318: | ||
====ClientSetSpeechRecognitionObject==== | ====ClientSetSpeechRecognitionObject==== | ||
{{code|reliable client function '''ClientSetSpeechRecognitionObject''' ({{cl|SpeechRecognition}} '''NewRecognitionData''')}} | {{code|reliable client function '''ClientSetSpeechRecognitionObject''' ({{cl|SpeechRecognition}} '''NewRecognitionData''')}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====ClientSmartUse==== | ||
+ | {{code|unreliable client function '''ClientSmartUse''' ()}} | ||
<!-- enter function description --> | <!-- enter function description --> | ||
Line 298: | Line 330: | ||
Spawn ClientSide Camera Effects * | Spawn ClientSide Camera Effects * | ||
+ | |||
+ | ====ClientSpawnGoreCameraEffect==== | ||
+ | {{code|unreliable client function '''ClientSpawnGoreCameraEffect''' ([[class]]<{{cl|UTEmitCameraEffect}}> '''CameraEffectClass''')}} | ||
+ | |||
+ | Spawn ClientSide gory Camera Effects (so low gore client can ignore) * | ||
====ClientStopCameraAnim==== | ====ClientStopCameraAnim==== | ||
Line 311: | Line 348: | ||
'''Parameters:''' | '''Parameters:''' | ||
* ''AchievementId'' - the achievement to unlock | * ''AchievementId'' - the achievement to unlock | ||
+ | |||
+ | ====ClientUpdateGetALife==== | ||
+ | {{code|reliable client function '''ClientUpdateGetALife''' ()}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====ClientUpdateSpiceOfLife==== | ||
+ | {{code|reliable client function '''ClientUpdateSpiceOfLife''' ([[int]] '''MutatorBitMask''')}} | ||
+ | |||
+ | <!-- enter function description --> | ||
====CommandMenuDeactivated==== | ====CommandMenuDeactivated==== | ||
Line 535: | Line 582: | ||
Callback for when a game invite has been received. | Callback for when a game invite has been received. | ||
+ | |||
+ | ====OnInviteJoinComplete==== | ||
+ | {{code|function '''OnInviteJoinComplete''' ([[bool]] '''bWasSuccessful''')}} | ||
+ | |||
+ | '''Overrides:''' {{tl|OnInviteJoinComplete|PlayerController|instance functions}} | ||
+ | |||
+ | Once the join completes, use the platform specific connection information | ||
+ | to connect to it | ||
+ | |||
+ | '''Parameters:''' | ||
+ | * ''bWasSuccessful'' - whether the join worked or not | ||
====OnPlayCameraAnim==== | ====OnPlayCameraAnim==== | ||
Line 811: | Line 869: | ||
'''Overrides:''' {{tl|ServerSay|PlayerController|instance functions}} | '''Overrides:''' {{tl|ServerSay|PlayerController|instance functions}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====ServerSessionBan==== | ||
+ | {{code|reliable server function '''ServerSessionBan''' ([[string]] '''PlayerToBan''')}} | ||
<!-- enter function description --> | <!-- enter function description --> | ||
Line 873: | Line 936: | ||
'''Overrides:''' {{tl|ServerThrowWeapon|PlayerController|instance functions}} | '''Overrides:''' {{tl|ServerThrowWeapon|PlayerController|instance functions}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====ServerTriggerHero==== | ||
+ | {{code|reliable server function '''ServerTriggerHero''' ()}} | ||
<!-- enter function description --> | <!-- enter function description --> | ||
Line 938: | Line 1,006: | ||
* ''Title'' - Title of the messagebox. | * ''Title'' - Title of the messagebox. | ||
* ''Message'' - Message of the messagebox. | * ''Message'' - Message of the messagebox. | ||
+ | |||
+ | ====SetFrontEndTravelRetryInfo==== | ||
+ | {{code|function '''SetFrontEndTravelRetryInfo''' ([[string]] '''URL''', [[string]] '''ErrorCode''')}} | ||
+ | |||
+ | Saves information to the registry about the last travel attempt, to allow the frontend to attempt a reconnect if necessary | ||
====SetHand==== | ====SetHand==== | ||
Line 958: | Line 1,031: | ||
====ShortServerMove==== | ====ShortServerMove==== | ||
{{code|unreliable server function '''ShortServerMove''' ([[float]] '''TimeStamp''', {{tl|Vector|Object|structs}} '''ClientLoc''', [[byte]] '''NewFlags''', [[byte]] '''ClientRoll''', [[int]] '''View''')}} | {{code|unreliable server function '''ShortServerMove''' ([[float]] '''TimeStamp''', {{tl|Vector|Object|structs}} '''ClientLoc''', [[byte]] '''NewFlags''', [[byte]] '''ClientRoll''', [[int]] '''View''')}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====ShowAchievementToast==== | ||
+ | {{code|function '''ShowAchievementToast''' ([[int]] '''AchievementId''')}} | ||
<!-- enter function description --> | <!-- enter function description --> | ||
Line 1,045: | Line 1,123: | ||
====UpdateAchievement==== | ====UpdateAchievement==== | ||
− | {{code|simulated function '''UpdateAchievement''' ([[int]] '''AchievementId | + | {{code|simulated function '''UpdateAchievement''' ([[int]] '''AchievementId''', optional [[int]] '''Value''')}} |
<!-- enter function description --> | <!-- enter function description --> |
Latest revision as of 05:14, 16 August 2009
Object >> Actor >> Controller >> PlayerController >> GamePlayerController >> UTPlayerController (instance functions) |
Contents
- 1 Instance functions
- 1.1 AchievementDone
- 1.2 AcknowledgePossession
- 1.3 AddModifierCard
- 1.4 AddOnlineDelegates
- 1.5 AdjustFOV
- 1.6 AdjustPersistentKey
- 1.7 AdminCmdOk
- 1.8 AimHelpModifier
- 1.9 AimingHelp
- 1.10 AllowTextMessage
- 1.11 AllowTTSMessageFrom
- 1.12 AlreadyInActionMusic
- 1.13 AtuallyShowQuickPickMenu
- 1.14 BullseyeMessage
- 1.15 CallServerMove
- 1.16 CancelPendingConnection
- 1.17 CanCommunicate
- 1.18 CanRestartPlayer
- 1.19 CharacterProcessingComplete
- 1.20 CheckAutoObjective
- 1.21 CheckBulletWhip
- 1.22 CheckJumpOrDuck
- 1.23 CheckPickedVehicle
- 1.24 CheckVehicleToDrive
- 1.25 CleanupOnlineSubsystemSession
- 1.26 ClearCameraEffect
- 1.27 ClearDoubleClick
- 1.28 ClearStringAliasBindingMapCache
- 1.29 ClientBecameActivePlayer
- 1.30 ClientEndZoom
- 1.31 ClientGameEnded
- 1.32 ClientIncrementAroundTheWorld
- 1.33 ClientIncrementLikeTheBackOfMyHand
- 1.34 ClientIncrementMixItUp
- 1.35 ClientMusicEvent
- 1.36 ClientPawnDied
- 1.37 ClientPlayAnnouncement
- 1.38 ClientPlayCameraAnim
- 1.39 ClientPlayTakeHit
- 1.40 ClientReset
- 1.41 ClientResetMapListPublish
- 1.42 ClientRestart
- 1.43 ClientRoundEnded
- 1.44 ClientSendNextMap
- 1.45 ClientSetAutoObjective
- 1.46 ClientSetBehindView
- 1.47 ClientSetGameHostNameAndId
- 1.48 ClientSetOnlineStatus
- 1.49 ClientSetProcessingComplete
- 1.50 ClientSetProgressMessage
- 1.51 ClientSetRequestedEntryWithFlag
- 1.52 ClientSetSpeechRecognitionObject
- 1.53 ClientSmartUse
- 1.54 ClientSpawnCameraEffect
- 1.55 ClientSpawnGoreCameraEffect
- 1.56 ClientStopCameraAnim
- 1.57 ClientUpdateAchievement
- 1.58 ClientUpdateGetALife
- 1.59 ClientUpdateSpiceOfLife
- 1.60 CommandMenuDeactivated
- 1.61 ConvolveTimeout
- 1.62 DamageShake
- 1.63 DisplayDebug
- 1.64 DrawHUD
- 1.65 EndZoom
- 1.66 EndZoomNonlinear
- 1.67 FindProgressMessageScene
- 1.68 FindVehicleToDrive
- 1.69 FinishQuitToMainMenu
- 1.70 FixFOV
- 1.71 ForceCloseProgressMessageScene
- 1.72 GetAdjustedAimFor
- 1.73 HasModifierCard
- 1.74 HasPersistentKey
- 1.75 LandingShake
- 1.76 LoadCharacterFromProfile
- 1.77 LoadSettingsFromProfile
- 1.78 LongClientAdjustPosition
- 1.79 NotifyConnectionError
- 1.80 NotifyInviteFailed
- 1.81 NotifyNotAllPlayersCanJoinInvite
- 1.82 NotifyNotEnoughSpaceInInvite
- 1.83 NotifyTakeHit
- 1.84 OnControllerChanged
- 1.85 OnDestroyOnlineGameComplete
- 1.86 OnEndOnlineGameComplete
- 1.87 OnFriendInviteReceived
- 1.88 OnFriendMessageReceived
- 1.89 OnGameInviteReceived
- 1.90 OnInviteJoinComplete
- 1.91 OnPlayCameraAnim
- 1.92 OnReadProfileSettingsComplete
- 1.93 OnStopCameraAnim
- 1.94 OnTTSAudioFinished
- 1.95 OnUnlockAchievement
- 1.96 OnUpdatePropertyFOVAngle
- 1.97 OpenProgressMessageScene
- 1.98 OpenUIScene
- 1.99 PawnDied
- 1.100 PerformedUseAction
- 1.101 PlayAnnouncement
- 1.102 PlayBeepSound
- 1.103 PlayCameraAnim
- 1.104 PlayStartupMessage
- 1.105 PlayWinMessage
- 1.106 ProjectileWarningTimer
- 1.107 PulseTeamColor
- 1.108 QuitToMainMenu
- 1.109 ReceiveBotVoiceMessage
- 1.110 ReceiveProjectileWarning
- 1.111 ReceiveTauntMessage
- 1.112 RegisterPlayerDataStores
- 1.113 RemoveCameraEffect
- 1.114 Restart
- 1.115 RoundHasEnded
- 1.116 SaveProfile
- 1.117 SaveServerToHistory
- 1.118 SendMessage
- 1.119 ServerAdmin
- 1.120 ServerAdminLogin
- 1.121 ServerAdminLogOut
- 1.122 ServerBecomeActivePlayer
- 1.123 ServerChangeMap
- 1.124 ServerChangeTeam
- 1.125 ServerDropFlag
- 1.126 ServerEndMapListPublish
- 1.127 ServerForceTextMute
- 1.128 ServerForceTextUnMute
- 1.129 ServerForceVoiceMute
- 1.130 ServerForceVoiceUnMute
- 1.131 ServerGetGameHostNameAndId
- 1.132 ServerKickBan
- 1.133 ServerPlayerPreferences
- 1.134 ServerPlayVehicleHorn
- 1.135 ServerProcessSpeechRecognition
- 1.136 ServerReceiveNextMap
- 1.137 ServerRestartMap
- 1.138 ServerSay
- 1.139 ServerSessionBan
- 1.140 ServerSetAlias
- 1.141 ServerSetAutoTaunt
- 1.142 ServerSetCharacterData
- 1.143 ServerSetClanTag
- 1.144 ServerSetHand
- 1.145 ServerSetProcessingComplete
- 1.146 ServerShowPathToBase
- 1.147 ServerSpectate
- 1.148 ServerStartMapListPublish
- 1.149 ServerTeamSay
- 1.150 ServerThrowWeapon
- 1.151 ServerTriggerHero
- 1.152 ServerUse
- 1.153 ServerViewingMap
- 1.154 ServerViewObjective
- 1.155 ServerViewPlayerByName
- 1.156 ServerViewSelf
- 1.157 SetAutoObjective
- 1.158 SetBehindView
- 1.159 SetCameraAnimStrength
- 1.160 SetCameraMode
- 1.161 SetFrontEndErrorMessage
- 1.162 SetFrontEndTravelRetryInfo
- 1.163 SetHand
- 1.164 SetPawnConstructionScene
- 1.165 SetViewTarget
- 1.166 ShortServerMove
- 1.167 ShowAchievementToast
- 1.168 ShowHudMap
- 1.169 ShowMidGameMenu
- 1.170 ShowScoreboard
- 1.171 SpawnCamera
- 1.172 SpeakTTS
- 1.173 SpeechRecognitionComplete
- 1.174 StartZoom
- 1.175 StartZoomNonlinear
- 1.176 StopCameraAnim
- 1.177 StopViewShaking
- 1.178 StopZoom
- 1.179 TriggerInteracted
- 1.180 Typing
- 1.181 UnregisterPlayerDataStores
- 1.182 UpdateAchievement
- 1.183 UpdateRotation
- 1.184 UpdateSex
- 1.185 UpdateVolumeAndBrightness
- 1.186 UseModifierCard
- 1.187 UsingFirstPersonCamera
- 1.188 ViewNextBot
- 1.189 ViewShake
- UTPlayerController instance functions in other games:
- UDK
- Other member categories for this class:
- constants, exec functions, internal variables, states
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Instance functions[edit]
AchievementDone[edit]
Shows the achievement UI so you can enjoy the new shiny achievement
AcknowledgePossession[edit]
Overrides: PlayerController.AcknowledgePossession
AddModifierCard[edit]
Add Modifier Card
Parameters:
- Card - The Modifier Card to Add
AddOnlineDelegates[edit]
Sets online delegates to respond to for this PC.
AdjustFOV[edit]
Overrides: PlayerController.AdjustFOV
Called each frame from PlayerTick this function is used to transition towards the DesiredFOV if not already at it.
Parameters:
- DeltaTime - Time since last update
AdjustPersistentKey[edit]
AdminCmdOk[edit]
AimHelpModifier[edit]
Returns:
- the a scaling factor for the distance from the collision box of the target to accept aiming help (for instant hit shots)
AimingHelp[edit]
Overrides: PlayerController.AimingHelp
AllowTextMessage[edit]
Overrides: PlayerController.AllowTextMessage
AllowTTSMessageFrom[edit]
AlreadyInActionMusic[edit]
return true if music manager is already playing action track return true if no music manager (no need to tell non-existent music manager to change tracks
AtuallyShowQuickPickMenu[edit]
This will show the QuickPick Menu! *
BullseyeMessage[edit]
CallServerMove[edit]
Overrides: PlayerController.CallServerMove
CancelPendingConnection[edit]
Handler for the ProgressMessageScene's OnSelection delegate. Kills any existing online game sessions.
CanCommunicate[edit]
Internal. Returns FALSE if we're restricted from commincating, TRUE otherwise.
CanRestartPlayer[edit]
Overrides: PlayerController.CanRestartPlayer
CharacterProcessingComplete[edit]
called when the GRI finishes processing custom character meshes
CheckAutoObjective[edit]
attempts to find an objective for the player to complete depending on their settings and tells the player about it
Parameters:
- bOnlyNotifyDifferent - if true, only send messages to the player if the selected objective is different from the previous one
Note: needs to be called on the server, not the client (because that's where the AI is)
CheckBulletWhip[edit]
CheckJumpOrDuck[edit]
Overrides: PlayerController.CheckJumpOrDuck
CheckPickedVehicle[edit]
returns the Vehicle passed in if it can be driven
CheckVehicleToDrive[edit]
Returns vehicle which can be driven
Parameters:
- bEnterVehicle - if true then player enters the found vehicle
CleanupOnlineSubsystemSession[edit]
Cleans up online subsystem game sessions and posts stats if the match is arbitrated.
ClearCameraEffect[edit]
ClearDoubleClick[edit]
Overrides: PlayerController.ClearDoubleClick
ClearStringAliasBindingMapCache[edit]
Clear the contents of the command to bind key cache
ClientBecameActivePlayer[edit]
ClientEndZoom[edit]
Allows the server to tell the client to end zoom
ClientGameEnded[edit]
Overrides: PlayerController.ClientGameEnded
ClientIncrementAroundTheWorld[edit]
ClientIncrementLikeTheBackOfMyHand[edit]
ClientIncrementMixItUp[edit]
ClientMusicEvent[edit]
ClientPawnDied[edit]
Client-side notification that the pawn has died.
ClientPlayAnnouncement[edit]
ClientPlayCameraAnim[edit]
ClientPlayTakeHit[edit]
ClientReset[edit]
Overrides: PlayerController.ClientReset
ClientResetMapListPublish[edit]
ClientRestart[edit]
Overrides: PlayerController.ClientRestart
ClientRoundEnded[edit]
ClientSendNextMap[edit]
sends a single map in the current gametype's maplist to the server for updating
ClientSetAutoObjective[edit]
client-side notification of the current auto objective
ClientSetBehindView[edit]
ClientSetGameHostNameAndId[edit]
Called by the server to tell the client what its OwningPlayerId and PlayerName is
ClientSetOnlineStatus[edit]
Overrides: PlayerController.ClientSetOnlineStatus
Looks at the current game state and uses that to set the rich presence strings
Licensees should override this in their player controller derived class
ClientSetProcessingComplete[edit]
this is used in seamless travel when the PlayerController class got replaced to force bInitialProcessingComplete to true
ClientSetProgressMessage[edit]
Overrides: PlayerController.ClientSetProgressMessage
Sets or updates the any current progress message being displayed.
Parameters:
- MessageType - the type of progress message
- Message - the message to display
- Title - the title to use for the progress message.
ClientSetRequestedEntryWithFlag[edit]
sets bRequestedEntryWithFlag on the given vehicle to update the HUD
ClientSetSpeechRecognitionObject[edit]
ClientSmartUse[edit]
ClientSpawnCameraEffect[edit]
Spawn ClientSide Camera Effects *
ClientSpawnGoreCameraEffect[edit]
Spawn ClientSide gory Camera Effects (so low gore client can ignore) *
ClientStopCameraAnim[edit]
ClientUpdateAchievement[edit]
Unlocks the achievement on the client (can only be done clientside)
Parameters:
- AchievementId - the achievement to unlock
ClientUpdateGetALife[edit]
ClientUpdateSpiceOfLife[edit]
CommandMenuDeactivated[edit]
ConvolveTimeout[edit]
Overrides: PlayerController.ConvolveTimeout
Called when the convolve response has timed out
DamageShake[edit]
Causes a view shake based on the amount of damage Should only be called on the owning client
DisplayDebug[edit]
Overrides: PlayerController.DisplayDebug
(Description copied from PlayerController.DisplayDebug)
list important PlayerController variables on canvas. HUD will call DisplayDebug() on the current ViewTarget when the ShowDebug exec is used
Parameters:
- HUD - HUD with canvas to draw on
- out_YL - Height of the current font
- out_YPos - Y position on Canvas. out_YPos += out_YL, gives position to draw text for next debug line.
DrawHUD[edit]
Overrides: PlayerController.DrawHUD
Hook called from HUD actor. Gives access to HUD and Canvas
EndZoom[edit]
This function will end a zoom and reset the FOV to the default value
EndZoomNonlinear[edit]
Ends a zoom, but interpolates nonlinearly back to the default value.
FindProgressMessageScene[edit]
Returns:
- a reference to the progress message scene, if it's already open.
FindVehicleToDrive[edit]
Overrides: PlayerController.FindVehicleToDrive
Tries to find a vehicle to drive within a limited radius. Returns true if successful
FinishQuitToMainMenu[edit]
Called after onlinesubsystem game cleanup has completed.
FixFOV[edit]
Overrides: PlayerController.FixFOV
ForceCloseProgressMessageScene[edit]
Manually closes the progress message scene, if open. Normally the progress message scene would be closed when the user clicks one of its buttons.
Parameters:
- bSimulateCancel - if TRUE, will set the message box's selection to the index of the Cancel button; otherwise, just closes the scene without touching the selection value.
GetAdjustedAimFor[edit]
Overrides: PlayerController.GetAdjustedAimFor
Adjusts weapon aiming direction. Gives controller a chance to modify the aiming of the pawn. For example aim error, auto aiming, adhesion, AI help... Requested by weapon prior to firing. UTPlayerController implementation doesn't adjust aim, but sets the shottarget (for warning enemies)
Parameters:
- W - weapon about to fire
- StartFireLoc - world location of weapon fire start trace, or projectile spawn loc.
- BaseAimRot - original aiming rotation without any modifications.
HasModifierCard[edit]
Returns:
- true if the player has any of these cards
HasPersistentKey[edit]
LandingShake[edit]
Overrides: Controller.LandingShake
LandingShake() returns true if controller wants landing view shake
LoadCharacterFromProfile[edit]
Loads the player's custom character from their profile.
LoadSettingsFromProfile[edit]
LongClientAdjustPosition[edit]
Overrides: PlayerController.LongClientAdjustPosition
NotifyConnectionError[edit]
Overrides: PlayerController.NotifyConnectionError
Notifies the player that an attempt to connect to a remote server failed, or an existing connection was dropped.
Parameters:
- Message - a description of why the connection was lost
- Title - the title to use in the connection failure message.
NotifyInviteFailed[edit]
Overrides: PlayerController.NotifyInviteFailed
Override to display a message to the user
NotifyNotAllPlayersCanJoinInvite[edit]
Overrides: PlayerController.NotifyNotAllPlayersCanJoinInvite
Override to display a message to the user
NotifyNotEnoughSpaceInInvite[edit]
Overrides: PlayerController.NotifyNotEnoughSpaceInInvite
Override to display a message to the user
NotifyTakeHit[edit]
Overrides: PlayerController.NotifyTakeHit
Notification from pawn that it has received damage via TakeDamage().
OnControllerChanged[edit]
Overrides: PlayerController.OnControllerChanged
Attempts to pause/unpause the game when a controller becomes disconnected/connected
Parameters:
- ControllerId - the id of the controller that changed
- bIsConnected - whether the controller is connected or not
OnDestroyOnlineGameComplete[edit]
Called when the destroy online game has completed. At this point it is safe to travel back to the menus
Parameters:
- bWasSuccessful - whether it worked ok or not
OnEndOnlineGameComplete[edit]
Called when the online game has finished ending.
OnFriendInviteReceived[edit]
Callback for when a friend request has been received.
OnFriendMessageReceived[edit]
Called when a friend invite arrives for a local player
Parameters:
- LocalUserNum - the user that is receiving the invite
- SendingPlayer - the player sending the friend request
- SendingNick - the nick of the player sending the friend request
- Message - the message to display to the recipient
Returns:
- true if successful, false otherwise
OnGameInviteReceived[edit]
Callback for when a game invite has been received.
OnInviteJoinComplete[edit]
Overrides: PlayerController.OnInviteJoinComplete
Once the join completes, use the platform specific connection information to connect to it
Parameters:
- bWasSuccessful - whether the join worked or not
OnPlayCameraAnim[edit]
OnReadProfileSettingsComplete[edit]
Callback for when the profile finishes reading for this PC.
OnStopCameraAnim[edit]
OnTTSAudioFinished[edit]
OnUnlockAchievement[edit]
Handles the Kismet action to unlock an achievement
Parameters:
- Action - the action containing which achievement to unlock
OnUpdatePropertyFOVAngle[edit]
called through camera anim code when it modifies FOVAngle
OpenProgressMessageScene[edit]
Opens the scene which is used to display connection/download progress & error messages. If the scene is already open, will return a reference to the existing scene rather than creating another one.
Returns:
- a reference to an instance of UTUIScene_ConnectionStatus which is fully initialized and ready to be used.
OpenUIScene[edit]
Attempts to open a UI Scene.
Parameters:
- Template - The Template of the scene to open.
Returns:
- the opened scene
PawnDied[edit]
Overrides: PlayerController.PawnDied
PerformedUseAction[edit]
Overrides: PlayerController.PerformedUseAction
return true if player the Use action was handled
PlayAnnouncement[edit]
PlayBeepSound[edit]
Overrides: PlayerController.PlayBeepSound
PlayCameraAnim[edit]
plays the specified camera animation with the specified weight (0 to 1) local client only
PlayStartupMessage[edit]
PlayWinMessage[edit]
ProjectileWarningTimer[edit]
PulseTeamColor[edit]
Called from the UTTeamGameMessage, this will cause all TeamColored Images on the hud to pulse.
QuitToMainMenu[edit]
Called when returning to the main menu.
ReceiveBotVoiceMessage[edit]
Receive a voice message from a bot - process locally, since character may be different on client
ReceiveProjectileWarning[edit]
Overrides: Controller.ReceiveProjectileWarning
ReceiveTauntMessage[edit]
Receive a taunt from a player - process locally, since character may be different on client
RegisterPlayerDataStores[edit]
Overrides: PlayerController.RegisterPlayerDataStores
Creates and initializes the "PlayerOwner" and "PlayerSettings" data stores. This function assumes that the PlayerReplicationInfo for this player has not yet been created, and that the PlayerOwner data store's PlayerDataProvider will be set when the PRI is registered.
Overloaded so we can initialize game specific player data stores.
RemoveCameraEffect[edit]
Parameters:
- CamEmitter - Clear the CameraEffect if it is the one passed in
Restart[edit]
Overrides: PlayerController.Restart
RoundHasEnded[edit]
Overrides: Controller.RoundHasEnded
SaveProfile[edit]
Saves the current profile complete with UI scene
SaveServerToHistory[edit]
Saves the UniqueNetId for the current server to the player's list of recently visited servers (server history).
SendMessage[edit]
Overrides: Controller.SendMessage
ServerAdmin[edit]
ServerAdminLogin[edit]
ServerAdminLogOut[edit]
ServerBecomeActivePlayer[edit]
ServerChangeMap[edit]
ServerChangeTeam[edit]
Overrides: PlayerController.ServerChangeTeam
Don't allow team changes if we are in single player, or too frequently
ServerDropFlag[edit]
ServerEndMapListPublish[edit]
indicates server has received all maps in the client's list
ServerForceTextMute[edit]
ServerForceTextUnMute[edit]
ServerForceVoiceMute[edit]
ServerForceVoiceUnMute[edit]
ServerGetGameHostNameAndId[edit]
ServerKickBan[edit]
Allows the local player or admin to kick a player
ServerPlayerPreferences[edit]
ServerPlayVehicleHorn[edit]
ServerProcessSpeechRecognition[edit]
ServerReceiveNextMap[edit]
server receives a single map list entry and asks client for the next one
ServerRestartMap[edit]
ServerSay[edit]
Overrides: PlayerController.ServerSay
ServerSessionBan[edit]
ServerSetAlias[edit]
ServerSetAutoTaunt[edit]
ServerSetCharacterData[edit]
tells the server about the character this player is using
ServerSetClanTag[edit]
Sets the ClanTag for this player.
Parameters:
- InClanTag - New clan tag for the player.
ServerSetHand[edit]
ServerSetProcessingComplete[edit]
called after any initial clientside processing is complete to allow the client to spawn in
ServerShowPathToBase[edit]
ServerSpectate[edit]
ServerStartMapListPublish[edit]
gets the server started for receiving a map list
ServerTeamSay[edit]
Overrides: PlayerController.ServerTeamSay
ServerThrowWeapon[edit]
Overrides: PlayerController.ServerThrowWeapon
ServerTriggerHero[edit]
ServerUse[edit]
Overrides: PlayerController.ServerUse
Limit use frequency
ServerViewingMap[edit]
ServerViewObjective[edit]
ServerViewPlayerByName[edit]
ServerViewSelf[edit]
Overrides: PlayerController.ServerViewSelf
SetAutoObjective[edit]
SetBehindView[edit]
SetCameraAnimStrength[edit]
Allows changing camera anim strength on the fly
SetCameraMode[edit]
Overrides: PlayerController.SetCameraMode
Set new camera mode
Parameters:
- NewCamMode - new camera mode.
SetFrontEndErrorMessage[edit]
Sets a error message in the registry datastore that will display to the user the next time they are in the frontend.
Parameters:
- Title - Title of the messagebox.
- Message - Message of the messagebox.
SetFrontEndTravelRetryInfo[edit]
Saves information to the registry about the last travel attempt, to allow the frontend to attempt a reconnect if necessary
SetHand[edit]
SetPawnConstructionScene[edit]
SetViewTarget[edit]
Overrides: PlayerController.SetViewTarget
ShortServerMove[edit]
ShowAchievementToast[edit]
ShowHudMap[edit]
ShowMidGameMenu[edit]
ShowScoreboard[edit]
SpawnCamera[edit]
SpeakTTS[edit]
SpeechRecognitionComplete[edit]
set to VoiceInterface's speech recognition delegate; called when words are recognized
StartZoom[edit]
This function will cause the PlayerController to begin zooming to a new FOV Level.
Parameters:
- NewDesiredFOV - The new FOV Value to head towards
- NewZoomRate - The rate of transition in degrees per second
StartZoomNonlinear[edit]
StopCameraAnim[edit]
Stops the currently playing camera animation.
StopViewShaking[edit]
Turns off any view shaking
StopZoom[edit]
This function will stop the zooming process keeping the current FOV Angle
TriggerInteracted[edit]
Overrides: PlayerController.TriggerInteracted
Examines the nearby enviroment and generates a priority sorted list of interactable actors, and then attempts to activate each of them until either one was successfully activated, or no more actors are available.
Typing[edit]
UnregisterPlayerDataStores[edit]
Overrides: PlayerController.UnregisterPlayerDataStores
Unregisters the "PlayerOwner" data store for this player. Called when this PlayerController is destroyed.
Overloaded so we can unregister game specific player data stores.
UpdateAchievement[edit]
UpdateRotation[edit]
Overrides: PlayerController.UpdateRotation
UpdateSex[edit]
Overrides: Controller.UpdateSex
Sex is set when mesh is set for pawn
UpdateVolumeAndBrightness[edit]
Updates sound volumes and screen brightness. Done in a seperate function so it can be called by the sliders to update these values in real time without doing a lot of extra work.
UseModifierCard[edit]
Use Modifier Card
Parameters:
- Card - The Modifier Card use
UsingFirstPersonCamera[edit]
Overrides: PlayerController.UsingFirstPersonCamera
return whether viewing in first person mode
ViewNextBot[edit]
ViewShake[edit]
Overrides: PlayerController.ViewShake
Sets ShakeOffset and ShakeRot to the current view shake that should be applied to the camera