UE2:PlayerController (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from UE2:PlayerNameInfo (UT2003))
UT2003 Object >> Actor >> Controller >> PlayerController
Package:
Engine
Known classes within PlayerController:
Admin, AdminBase, AdminIni, CheatManager, PlayerInput, XBoxPlayerInput
Direct subclasses:
UnrealPlayer, Camera, MessagingSpectator
This class in other games:

PlayerController

PlayerControllers are used by human players to control pawns.

This is a built-in Unreal class and it shouldn't be modified. for the change in Possess().

Properties

Property group 'ForceFeedback'

bEnableDamageForceFeedback

Type: bool

Modifiers: globalconfig


Default value: True

bEnableGUIForceFeedback

Type: bool

Modifiers: globalconfig


Default value: True

bEnablePickupForceFeedback

Type: bool

Modifiers: globalconfig


Default value: True

bEnableWeaponForceFeedback

Type: bool

Modifiers: globalconfig


Default value: True

bForceFeedbackSupported

Type: bool

true if a device is detected

Default value: True

Property group 'TeamBeacon'

LinkBeaconTexture

Type: Texture


TeamBeaconCustomColor

Type: Object.Color


Default value:

Member Value
A 255
B 0
G 255
R 255

TeamBeaconMaxDist

Type: float


Default value: 5000.0

TeamBeaconPlayerInfoMaxDist

Type: float


Default value: 1200.0

TeamBeaconTeamColors

Type: Object.Color

Array size: 2


Default value, index 0:

Member Value
A 255
B 0
G 0
R 180

Default value, index 1:

Member Value
A 255
B 200
G 80
R 80

TeamBeaconTexture

Type: Texture


Internal variables

See PlayerController internal variables.

Default values

Property Value
bCanDoSpecial True
bCanOpenDoors True
bIsPlayer True
bTravel True
FovAngle 85.0
Handedness 1.0
NetPriority 3.0

Structs

PlayerNameInfo

string mInfo
Object.Color mColor
float mXPos
float mYPos

Functions

Exec functions

See PlayerController exec functions.

Native functions

ClientHearSound

native event ClientHearSound (Actor Actor, int Id, Sound S, Object.Vector SoundLocation, Object.Vector Parameters, bool Attenuate)


ClientTravel

native event ClientTravel (string URL, Actor.ETravelType TravelType, bool bItems)


ClientValidate

private native event ClientValidate (string C)


ServerValidationResponse

private native event ServerValidationResponse (string R)


ChangeVoiceChatter

native final function ChangeVoiceChatter (int IpAddr, int Handle, bool Add)


ConsoleCommand

native function string ConsoleCommand (string Command)

Overrides: Actor.ConsoleCommand


CopyToClipboard

native function CopyToClipboard (string Text)


FindStairRotation

native(524) final function int FindStairRotation (float DeltaTime)


GetDefaultURL

native final function string GetDefaultURL (string Option)


GetEntryLevel

native final function LevelInfo GetEntryLevel ()


GetPlayerIDHash

native final function string GetPlayerIDHash ()


GetPlayerNetworkAddress

native final function string GetPlayerNetworkAddress ()


GetServerNetworkAddress

native final function string GetServerNetworkAddress ()


LeaveVoiceChat

native final function LeaveVoiceChat ()


PasteFromClipboard

native function string PasteFromClipboard ()


ResetKeyboard

native(544) final function ResetKeyboard ()


SetNetSpeed

native final function SetNetSpeed (int NewSpeed)


SetViewTarget

native final function SetViewTarget (Actor NewViewTarget)


Events

AddCameraEffect

event AddCameraEffect (CameraEffect NewEffect, optional bool RemoveExisting)


ClientCloseMenu

event ClientCloseMenu (optional bool bCloseAll, optional bool bCancel)


ClientMessage

event ClientMessage (coerce string S, optional name Type)


ClientOpenMenu

event ClientOpenMenu (string Menu, optional bool bDisconnect, optional string Msg1, optional string Msg2)


ClientReplaceMenu

event ClientReplaceMenu (string Menu, optional bool bDisconnect, optional string Msg1, optional string Msg2)


ClientSetViewTarget

event ClientSetViewTarget (Actor a)


Destroyed

simulated event Destroyed ()

Overrides: Controller.Destroyed


InitInputSystem

event InitInputSystem ()


NotifyLanded

event bool NotifyLanded (Object.Vector HitNormal)

Overrides: Controller.NotifyLanded


PlayerCalcView

event PlayerCalcView (out Actor ViewActor, out Object.Vector CameraLocation, out Object.Rotator CameraRotation)


PlayerTick

event PlayerTick (float DeltaTime)


PostBeginPlay

event PostBeginPlay ()

Overrides: Controller.PostBeginPlay


PreClientTravel

event PreClientTravel ()


ProgressCommand

event function ProgressCommand (string Cmd, string Msg1, string Msg2)


ReceiveLocalizedMessage

simulated event ReceiveLocalizedMessage (class<LocalMessageMessage, optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject)


RemoveCameraEffect

event RemoveCameraEffect (CameraEffect ExEffect)


ServerChangeVoiceChatter

event ServerChangeVoiceChatter (PlayerController Player, int IpAddr, int Handle, bool Add)


ServerGetVoiceChatters

event ServerGetVoiceChatters (PlayerController Player)


StartClientDemoRec

simulated event StartClientDemoRec ()


TeamMessage

event TeamMessage (PlayerReplicationInfo PRI, coerce string S, name Type)


TravelPostAccept

event TravelPostAccept ()

Overrides: Actor.TravelPostAccept


Other instance functions

See PlayerController instance functions.

States

See PlayerController states.