Mostly Harmless

UE2:PlayerController (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2003 Object >> Actor >> Controller >> PlayerController

Contents

Package: 
Engine
Known classes within PlayerController:
AdminBase, AdminIni, Admin, CheatManager, PlayerInput, XBoxPlayerInput
Direct subclasses:
Camera, MessagingSpectator, UnrealPlayer
This class in other games:
U2, U2XMP, UDK, UE2Runtime, UT2004, UT3

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().

[edit] Properties

[edit] Property group 'ForceFeedback'

[edit] bEnableDamageForceFeedback

Type: bool

Modifiers: globalconfig


Default value: True

[edit] bEnableGUIForceFeedback

Type: bool

Modifiers: globalconfig


Default value: True

[edit] bEnablePickupForceFeedback

Type: bool

Modifiers: globalconfig


Default value: True

[edit] bEnableWeaponForceFeedback

Type: bool

Modifiers: globalconfig


Default value: True

[edit] bForceFeedbackSupported

Type: bool

true if a device is detected

Default value: True

[edit] Property group 'TeamBeacon'

[edit] LinkBeaconTexture

Type: Texture


[edit] TeamBeaconCustomColor

Type: Object.Color


Default value:

Member Value
A 255
B 0
G 255
R 255

[edit] TeamBeaconMaxDist

Type: float


Default value: 5000.0

[edit] TeamBeaconPlayerInfoMaxDist

Type: float


Default value: 1200.0

[edit] 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

[edit] TeamBeaconTexture

Type: Texture


[edit] Internal variables

See PlayerController internal variables.

[edit] Default values

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

[edit] Structs

[edit] PlayerNameInfo

string mInfo 
Object.Color mColor 
float mXPos 
float mYPos 

[edit] Functions

[edit] Exec functions

See PlayerController exec functions.

[edit] Native functions

[edit] ClientHearSound

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


[edit] ClientTravel

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


[edit] ClientValidate

private native event ClientValidate (string C)


[edit] ServerValidationResponse

private native event ServerValidationResponse (string R)


[edit] ChangeVoiceChatter

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


[edit] ConsoleCommand

native function string ConsoleCommand (string Command)

Overrides: Actor.ConsoleCommand


[edit] CopyToClipboard

native function CopyToClipboard (string Text)


[edit] FindStairRotation

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


[edit] GetDefaultURL

native final function string GetDefaultURL (string Option)


[edit] GetEntryLevel

native final function LevelInfo GetEntryLevel ()


[edit] GetPlayerIDHash

native final function string GetPlayerIDHash ()


[edit] GetPlayerNetworkAddress

native final function string GetPlayerNetworkAddress ()


[edit] GetServerNetworkAddress

native final function string GetServerNetworkAddress ()


[edit] LeaveVoiceChat

native final function LeaveVoiceChat ()


[edit] PasteFromClipboard

native function string PasteFromClipboard ()


[edit] ResetKeyboard

native(544) final function ResetKeyboard ()


[edit] SetNetSpeed

native final function SetNetSpeed (int NewSpeed)


[edit] SetViewTarget

native final function SetViewTarget (Actor NewViewTarget)


[edit] Events

[edit] AddCameraEffect

event AddCameraEffect (CameraEffect NewEffect, optional bool RemoveExisting)


[edit] ClientCloseMenu

event ClientCloseMenu (optional bool bCloseAll, optional bool bCancel)


[edit] ClientMessage

event ClientMessage (coerce string S, optional name Type)


[edit] ClientOpenMenu

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


[edit] ClientReplaceMenu

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


[edit] ClientSetViewTarget

event ClientSetViewTarget (Actor a)


[edit] Destroyed

simulated event Destroyed ()

Overrides: Controller.Destroyed


[edit] InitInputSystem

event InitInputSystem ()


[edit] NotifyLanded

event bool NotifyLanded (Object.Vector HitNormal)

Overrides: Controller.NotifyLanded


[edit] PlayerCalcView

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


[edit] PlayerTick

event PlayerTick (float DeltaTime)


[edit] PostBeginPlay

event PostBeginPlay ()

Overrides: Controller.PostBeginPlay


[edit] PreClientTravel

event PreClientTravel ()


[edit] ProgressCommand

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


[edit] ReceiveLocalizedMessage

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


[edit] RemoveCameraEffect

event RemoveCameraEffect (CameraEffect ExEffect)


[edit] ServerChangeVoiceChatter

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


[edit] ServerGetVoiceChatters

event ServerGetVoiceChatters (PlayerController Player)


[edit] StartClientDemoRec

simulated event StartClientDemoRec ()


[edit] TeamMessage

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


[edit] TravelPostAccept

event TravelPostAccept ()

Overrides: Actor.TravelPostAccept


[edit] Other instance functions

See PlayerController instance functions.

[edit] States

See PlayerController states.

Personal tools