I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX
UE3:UTPlayerController (UDK)
Object >> Actor >> Controller >> PlayerController >> GamePlayerController >> UTPlayerController |
Contents
- 1 Constants
- 2 Properties
- 3 Enums
- 4 Structs
- 5 Functions
- 5.1 Static functions
- 5.2 Exec functions
- 5.3 Native functions
- 5.4 Events
- 5.4.1 ClearOnlineDelegates
- 5.4.2 ClientHearSound
- 5.4.3 ClientPlayCameraAnim
- 5.4.4 ClientStopCameraAnim
- 5.4.5 ClientWasKicked
- 5.4.6 Destroyed
- 5.4.7 GetPlayerViewPoint
- 5.4.8 GetSeamlessTravelActorList
- 5.4.9 InitInputSystem
- 5.4.10 KickWarning
- 5.4.11 PlayerTick
- 5.4.12 Possess
- 5.4.13 ReceivedPlayer
- 5.4.14 ReceiveWarning
- 5.4.15 Reset
- 5.4.16 ResetCameraMode
- 5.4.17 SoakPause
- 5.5 Other instance functions
- 6 States
- Package:
- UTGame
- Implemented interfaces:
- Interface_NavigationHandle
- Known classes within UTPlayerController:
- UTPlayerInput
- Direct subclasses:
- DemoRecSpectator, UTConsolePlayerController, UTEntryPlayerController
- This class in other games:
- UT3
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. |
UTPlayerController
Constants[edit]
See UTPlayerController constants.
Properties[edit]
Property group 'UTPlayerController'[edit]
bDisableQuickPick[edit]
Type: bool
If true, the quick pick menu will be disable and the key will act like PrevWeapon
Internal variables[edit]
See UTPlayerController internal variables.
Default values[edit]
Property | Value |
---|---|
bCheckSoundOcclusion | True |
CameraClass | None |
CheatClass | Class'UTGame.UTCheatManager' |
DefaultFOV | 90.0 |
DesiredFOV | 90.0 |
FOVAngle | 90.0 |
InputClass | Class'UTGame.UTPlayerInput' |
MinRespawnDelay | 1.5 |
Subobjects[edit]
CollisionCylinder[edit]
Class: Engine.CylinderComponent
Inherits from: GamePlayerController.CollisionCylinder
Property | Value |
---|---|
ReplacementPrimitive | None |
Sprite[edit]
Class: Engine.SpriteComponent
Inherits from: GamePlayerController.Sprite
Property | Value |
---|---|
ReplacementPrimitive | None |
Enums[edit]
EAutoObjectivePreference[edit]
enum for the various options for the game telling the player what to do next
- AOP_Disabled
- turned off
- AOP_NoPreference
- AOP_Attack
- tell what to do to attack
- AOP_Defend
- tell what to do to defend
- AOP_OrbRunner
- AOP_SpecialOps
EPawnShadowMode[edit]
- SHADOW_None
- SHADOW_Self
- SHADOW_All
EWeaponHand[edit]
- HAND_Right
- HAND_Left
- HAND_Centered
- HAND_Hidden
Structs[edit]
ObjectiveAnnouncementInfo[edit]
Modifiers: native
- SoundNodeWave AnnouncementSound
- the default announcement sound to play (can be None)
- string AnnouncementText
- text displayed onscreen for this announcement
PostProcessInfo[edit]
Modifiers: native
Struct to define values for different post processing presets.
Functions[edit]
Static functions[edit]
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.
Exec functions[edit]
See UTPlayerController exec functions.
Native functions[edit]
GetUIPlayerIndex[edit]
Returns:
- Returns the index of this PC in the GamePlayers array.
IsKeyboardAvailable[edit]
Overrides: PlayerController.IsKeyboardAvailable
Returns:
- Whether or not the user has a keyboard plugged-in.
IsMouseAvailable[edit]
Overrides: PlayerController.IsMouseAvailable
Returns:
- Whether or not the user has a mouse plugged-in.
SetGamma[edit]
Sets the current gamma value.
Parameters:
- New - Gamma Value, must be between 0.0 and 1.0
SetHardwarePhysicsEnabled[edit]
Sets whether or not hardware physics are enabled.
Parameters:
- bEnabled - Whether to enable the physics or not.
Events[edit]
ClearOnlineDelegates[edit]
Overrides: PlayerController.ClearOnlineDelegates
Clears previously set online delegates.
ClientHearSound[edit]
Overrides: PlayerController.ClientHearSound
ClientPlayCameraAnim[edit]
Overrides: PlayerController.ClientPlayCameraAnim
ClientStopCameraAnim[edit]
Overrides: PlayerController.ClientStopCameraAnim
ClientWasKicked[edit]
Overrides: PlayerController.ClientWasKicked
Destroyed[edit]
Overrides: PlayerController.Destroyed
GetPlayerViewPoint[edit]
Overrides: PlayerController.GetPlayerViewPoint
(Description copied from PlayerController.GetPlayerViewPoint)
Returns Player's Point of View For the AI this means the Pawn's 'Eyes' ViewPoint For a Human player, this means the Camera's ViewPoint
Output: out_rotation, view rotation of player
GetSeamlessTravelActorList[edit]
Overrides: PlayerController.GetSeamlessTravelActorList
(Description copied from PlayerController.GetSeamlessTravelActorList)
called on client during seamless level transitions to get the list of Actors that should be moved into the new level PlayerControllers, Role < ROLE_Authority Actors, and any non-Actors that are inside an Actor that is in the list (i.e. Object.Outer == Actor in the list) are all autmoatically moved regardless of whether they're included here only dynamic (!bStatic and !bNoDelete) actors in the PersistentLevel may be moved (this includes all actors spawned during gameplay) this is called for both parts of the transition because actors might change while in the middle (e.g. players might join or leave the game)
Parameters:
- bToEntry - true if we are going from old level -> entry, false if we are going from entry -> new level
- ActorList - out) list of actors to maintain
See: also GameInfo::GetSeamlessTravelActorList() (the function that's called on servers)
InitInputSystem[edit]
Overrides: PlayerController.InitInputSystem
KickWarning[edit]
Overrides: PlayerController.KickWarning
PlayerTick[edit]
Overrides: PlayerController.PlayerTick
PlayerTick is only called if the PlayerController has a PlayerInput object. Therefore, it will not be called on servers for non-locally controlled playercontrollers
Possess[edit]
Overrides: PlayerController.Possess
ReceivedPlayer[edit]
Overrides: PlayerController.ReceivedPlayer
Called after this PlayerController's viewport/net connection is associated with this player controller.
ReceiveWarning[edit]
Overrides: Controller.ReceiveWarning
Reset[edit]
Overrides: PlayerController.Reset
ResetCameraMode[edit]
Overrides: PlayerController.ResetCameraMode
Reset Camera Mode to default
SoakPause[edit]
Overrides: PlayerController.SoakPause
For AI debugging
Other instance functions[edit]
See UTPlayerController instance functions.