Mostly Harmless

UE2:PlayerController (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site

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

Contents

Package: 
Engine
Known classes within PlayerController
Known direct subclasses:
Admin, Camera, DemoRecSpectator, MessagingSpectator, RTPlayerController
This class in other games:
U2, U2XMP, UDK, UT2003, 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 'Menu'

[edit] MidGameMenuClass

Type: string

Modifiers: config

Menu that is shown when Escape is pressed (Runtime)

Default value: "RTInterface.MidGameMenu"

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

native(546) final function UpdateURL (string NewOption, string NewValue, bool bSaveDefault)


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