I'm a doctor, not a mechanic

UE2:PlayerController (U2)

From Unreal Wiki, The Unreal Engine Documentation Site

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

Contents

Package: 
Engine
Known classes within PlayerController:
CheatManager, PlayerInput, U2CheatManager
Direct subclasses:
Admin, Camera, DemoRecSpectator, MessagingSpectator, PlayerControllerTutorial, U2PlayerController
This class in other games:
U2XMP, UDK, UE2Runtime, 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] Internal variables

See PlayerController internal variables.

[edit] Default values

Property Value
bCanDoSpecial True
bCanOpenDoors True
bIsPlayer True
bTravel True
FovAngle 85.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] GetURLProtocol

native final function string GetURLProtocol ()


[edit] LeaveVoiceChat

native final function LeaveVoiceChat ()


[edit] PasteFromClipboard

native function string PasteFromClipboard ()


[edit] ResetKeyboard

native(544) final function ResetKeyboard ()


[edit] SendEvent

native final function SendEvent (string Event)


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

event ClientMessage (coerce string S, optional name Type)


[edit] ClientSetViewTarget

event ClientSetViewTarget (Actor a)


[edit] Destroyed

simulated event Destroyed ()

Overrides: Controller.Destroyed


[edit] GetRadarZoomPct

event float GetRadarZoomPct ()


[edit] InitInputSystem

event InitInputSystem ()


[edit] InitPlayer

simulated event InitPlayer ()


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

event PostNetBeginPlay ()

Overrides: Actor.PostNetBeginPlay


[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, optional Sound MessageSound)


[edit] TravelPostAccept

event TravelPostAccept ()

Overrides: Actor.TravelPostAccept


[edit] Other instance functions

See PlayerController instance functions.

[edit] States

See PlayerController states.

Personal tools