I'm a doctor, not a mechanic

UE2:PlayerController (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
U2XMP Object >> Actor >> Controller >> LicenseeController >> PlayerController

Contents

Package: 
Engine
Known classes within PlayerController:
AdminManager, CheatManager, PlayerInput
Direct subclasses:
Admin, Camera, MessagingSpectator, U2PlayerController
This class in other games:
U2, 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. CHANGENOTE: All Changes since v739 in this class are related to the Weapon code update, except for the change in Possess(). NEW (mdf) support Licensee extensions

[edit] Constants

[edit] BaseSpectatingState

Value: 'BaseSpectating'


[edit] SpectatingState

Value: 'Spectating'


[edit] PlayerClimbingState

Value: 'PlayerClimbing'


[edit] PlayerFlyingState

Value: 'PlayerFlying'


[edit] PlayerHelicopteringState

Value: 'PlayerHelicoptering'


[edit] PlayerSpideringState

Value: 'PlayerSpidering'


[edit] PlayerSwimmingState

Value: 'PlayerSwimming'


[edit] PlayerWaitingState

Value: 'PlayerWaiting'


[edit] PlayerWalkingState

Value: 'PlayerWalking'


[edit] WaitingForPawnState

Value: 'WaitingForPawn'


[edit] Properties

See PlayerController properties.

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

native function string PasteFromClipboard ()


[edit] ResetKeyboard

native(544) final function ResetKeyboard ()


[edit] SendEvent

native final function SendEvent (string Event)


[edit] SetViewTarget

native function SetViewTarget (Actor NewViewTarget)


[edit] UpdateURL

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


[edit] Events

[edit] ClientMessage

event ClientMessage (coerce string S, optional name Type)


[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: LicenseeController.PostBeginPlay


[edit] PreClientTravel

event PreClientTravel ()


[edit] ReceiveLocalizedMessage

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


[edit] Replication

event Replication ()

Overrides: Controller.Replication


[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