I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:PlayerController (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Controller >> LicenseeController >> PlayerController
Package: 
Engine
Known classes within PlayerController:
AdminManager, CheatManager, PlayerInput
Direct subclasses:
Admin, Camera, MessagingSpectator, U2PlayerController
This class in other games:
U2, UE2Runtime, UT2004, UT2003, UT3, UDK

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

Constants[edit]

BaseSpectatingState[edit]

Value: 'BaseSpectating'


SpectatingState[edit]

Value: 'Spectating'


PlayerClimbingState[edit]

Value: 'PlayerClimbing'


PlayerFlyingState[edit]

Value: 'PlayerFlying'


PlayerHelicopteringState[edit]

Value: 'PlayerHelicoptering'


PlayerSpideringState[edit]

Value: 'PlayerSpidering'


PlayerSwimmingState[edit]

Value: 'PlayerSwimming'


PlayerWaitingState[edit]

Value: 'PlayerWaiting'


PlayerWalkingState[edit]

Value: 'PlayerWalking'


WaitingForPawnState[edit]

Value: 'WaitingForPawn'


Properties[edit]

See PlayerController properties.

Functions[edit]

Exec functions[edit]

See PlayerController exec functions.

Native functions[edit]

ClientHearSound[edit]

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


ClientTravel[edit]

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


ConsoleCommand[edit]

native function string ConsoleCommand (string Command)

Overrides: Actor.ConsoleCommand


CopyToClipboard[edit]

native function CopyToClipboard (string Text)


FindStairRotation[edit]

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


GetDefaultURL[edit]

native final function string GetDefaultURL (string Option)


GetEntryLevel[edit]

native final function LevelInfo GetEntryLevel ()


GetPlayerNetworkAddress[edit]

native final function string GetPlayerNetworkAddress ()


PasteFromClipboard[edit]

native function string PasteFromClipboard ()


ResetKeyboard[edit]

native(544) final function ResetKeyboard ()


SendEvent[edit]

native final function SendEvent (string Event)


SetViewTarget[edit]

native function SetViewTarget (Actor NewViewTarget)


UpdateURL[edit]

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


Events[edit]

ClientMessage[edit]

event ClientMessage (coerce string S, optional name Type)


Destroyed[edit]

simulated event Destroyed ()

Overrides: Controller.Destroyed


InitInputSystem[edit]

event InitInputSystem ()


NotifyLanded[edit]

event bool NotifyLanded (Object.Vector HitNormal)

Overrides: Controller.NotifyLanded


PlayerCalcView[edit]

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


PlayerTick[edit]

event PlayerTick (float DeltaTime)


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: LicenseeController.PostBeginPlay


PreClientTravel[edit]

event PreClientTravel ()


ReceiveLocalizedMessage[edit]

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


Replication[edit]

event Replication ()

Overrides: Controller.Replication


TeamMessage[edit]

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


TravelPostAccept[edit]

event TravelPostAccept ()

Overrides: Actor.TravelPostAccept


Other instance functions[edit]

See PlayerController instance functions.

States[edit]

See PlayerController states.