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

UE2:PlayerController instance functions (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> Actor >> Controller >> PlayerController (instance functions)

Contents

PlayerController instance functions in other games:
U2XMP, UE2Runtime, UT2003, UT2004, UT3, UDK
Other member categories for this class:
exec functions, internal variables, states

Instance functions[edit]

AdjustAim[edit]

function bool AdjustAim (class<ProjectileProjectileClass, float ProjSpeed, Object.Vector ProjStart, float WeaponFireSpread, bool bLeadTarget, bool bWarnTarget, bool bTossed, bool bTrySplash)

Overrides: Controller.AdjustAim


AdjustView[edit]

function AdjustView (float DeltaTime)

Overrides: Controller.AdjustView


AllowSelectionMenuEscape[edit]

interface function bool AllowSelectionMenuEscape ()


AllowVoiceMessage[edit]

function bool AllowVoiceMessage (name MessageType)

Overrides: Controller.AllowVoiceMessage


AskForPawn[edit]

function AskForPawn ()


BadConnect[edit]

interface function bool BadConnect ()


BlendRot[edit]

function int BlendRot (float DeltaTime, int BlendC, int NewC)


CalcBehindView[edit]

function CalcBehindView (out Object.Vector CameraLocation, out Object.Rotator CameraRotation, float Dist)


CalcFirstPersonView[edit]

function CalcFirstPersonView (out Object.Vector CameraLocation, out Object.Rotator CameraRotation)


CanRestartPlayer[edit]

function bool CanRestartPlayer ()


CanSwitchToStateOnClient[edit]

simulated function bool CanSwitchToStateOnClient (name NewState)


ChangeAlwaysMouseLook[edit]

function ChangeAlwaysMouseLook (bool B)


ChangedWeapon[edit]

function ChangedWeapon ()

Overrides: Controller.ChangedWeapon


ChangeName[edit]

function ChangeName (coerce string S)


ChangeStairLook[edit]

function ChangeStairLook (bool B)


CleanOutSavedMoves[edit]

function CleanOutSavedMoves ()


ClearDoubleClick[edit]

function ClearDoubleClick ()


ClientAddCheats[edit]

function ClientAddCheats ()


ClientAdjustGlow[edit]

function ClientAdjustGlow (float scale, Object.Vector fog)


ClientAdjustPosition[edit]

function ClientAdjustPosition (float TimeStamp, name newState, Actor.EPhysics newPhysics, float NewLocX, float NewLocY, float NewLocZ, float NewVelX, float NewVelY, float NewVelZ, Actor NewBase)


ClientCapBandwidth[edit]

function ClientCapBandwidth (int Cap)


ClientChangeVoiceChatter[edit]

simulated function ClientChangeVoiceChatter (int IpAddr, int Handle, bool Add)


ClientFlash[edit]

function ClientFlash (float scale, Object.Vector fog)


ClientGotoState[edit]

function ClientGotoState (name NewState, name NewLabel)


ClientLeaveVoiceChat[edit]

simulated function ClientLeaveVoiceChat ()


ClientPlayForceFeedback[edit]

simulated function ClientPlayForceFeedback (string EffectName)


ClientPlaySound[edit]

simulated function ClientPlaySound (Sound ASound, optional bool bVolumeControl, optional float inAtten, optional Actor.ESoundSlot slot)


ClientReliablePlaySound[edit]

simulated function ClientReliablePlaySound (Sound ASound, optional bool bVolumeControl)


ClientRestart[edit]

function ClientRestart (optional Pawn NewPawn)


ClientSendEvent[edit]

final function ClientSendEvent (byte EventID)


ClientSetBehindView[edit]

function ClientSetBehindView (bool B)


ClientSetFixedCamera[edit]

function ClientSetFixedCamera (bool B)


ClientSetHUD[edit]

function ClientSetHUD (name NewHUD, name NewScoreboard)


ClientSetMusic[edit]

function ClientSetMusic (string NewSong, Actor.EMusicTransition NewTransition)


ClientSetThirdPersonVehicleMode[edit]

function ClientSetThirdPersonVehicleMode (bool B)


ClientShake[edit]

simulated private function ClientShake (float Magnitude, optional float Duration)


ClientStopForceFeedback[edit]

function ClientStopForceFeedback (optional string EffectName)


ClientUpdatePosition[edit]

function ClientUpdatePosition ()


ClientVoiceMessage[edit]

function ClientVoiceMessage (PlayerReplicationInfo Sender, PlayerReplicationInfo Recipient, name messagetype, byte messageID, optional Object OptionalObject)

Overrides: Controller.ClientVoiceMessage


CompressAccel[edit]

function int CompressAccel (int C)


ContinueNotifyRocketLockOnA[edit]

simulated function ContinueNotifyRocketLockOnA ()


ContinueNotifyRocketLockOnB[edit]

simulated function ContinueNotifyRocketLockOnB ()


ContinueNotifyRocketLockOnC[edit]

simulated function ContinueNotifyRocketLockOnC ()


ContinueNotifyRocketLockOnD[edit]

simulated function ContinueNotifyRocketLockOnD ()


damageAttitudeTo[edit]

function damageAttitudeTo (Pawn Other, float Damage)

Overrides: Controller.damageAttitudeTo


DemoClientSetHUD[edit]

simulated function DemoClientSetHUD (name NewHUD, name NewScoreboard)


DoUnTeleport[edit]

simulated function DoUnTeleport ()


EndZoom[edit]

function EndZoom ()


EnterStartState[edit]

function EnterStartState ()


FindGoodView[edit]

function FindGoodView ()


FixFOV[edit]

function FixFOV ()


ForceDeathUpdate[edit]

function ForceDeathUpdate ()


GameOverAnnounce[edit]

function GameOverAnnounce (int i)


GetAdminInfo[edit]

function interface string GetAdminInfo ()


GetFacingDirection[edit]

function int GetFacingDirection ()

Overrides: Controller.GetFacingDirection


GetFreeMove[edit]

final function SavedMove GetFreeMove ()


GetKickPlayer[edit]

interface function string GetKickPlayer ()


GetMOTDLine1[edit]

function interface string GetMOTDLine1 ()


GetMOTDLine2[edit]

function interface string GetMOTDLine2 ()


GetMOTDLine3[edit]

function interface string GetMOTDLine3 ()


GetMOTDLine4[edit]

function interface string GetMOTDLine4 ()


GetPollOwner[edit]

interface function string GetPollOwner ()


GetProgressColorA[edit]

function interface Object.Color GetProgressColorA ()


GetProgressColorB[edit]

function interface Object.Color GetProgressColorB ()


GetProgressColorC[edit]

function interface Object.Color GetProgressColorC ()


GetProgressColorD[edit]

function interface Object.Color GetProgressColorD ()


GetProgressMessageA[edit]

function interface string GetProgressMessageA ()


GetProgressMessageB[edit]

function interface string GetProgressMessageB ()


GetProgressMessageC[edit]

function interface string GetProgressMessageC ()


GetProgressMessageD[edit]

function interface string GetProgressMessageD ()


GetServerName[edit]

function interface string GetServerName ()


GetUIAlpha[edit]

interface function float GetUIAlpha ()


GetUseBarEnable[edit]

interface function bool GetUseBarEnable ()


GetUseBarIconIndex[edit]

interface function int GetUseBarIconIndex ()


GetUseBarPercent[edit]

interface function float GetUseBarPercent ()


GetUseText[edit]

interface function string GetUseText ()


GetViewRotation[edit]

function Object.Rotator GetViewRotation ()

Overrides: Controller.GetViewRotation


GetVotesRequired[edit]

interface function string GetVotesRequired ()


GivePawn[edit]

function GivePawn (Pawn NewPawn)


HandleDying[edit]

function HandleDying ()

Overrides: Controller.HandleDying


HandleMercyKilled[edit]

function HandleMercyKilled ()

Overrides: Controller.HandleMercyKilled


HandlePickup[edit]

function HandlePickup (Pickup pick)

Overrides: Controller.HandlePickup


HandleRevived[edit]

function HandleRevived ()

Overrides: Controller.HandleRevived


HandleSpawnedObject[edit]

function HandleSpawnedObject (Object Obj, string ClassName)


HandleWalking[edit]

function HandleWalking ()


IsDead[edit]

function bool IsDead ()


IsSpectating[edit]

function bool IsSpectating ()


KickBanRequested[edit]

interface function bool KickBanRequested ()


KickRequest[edit]

function KickRequest (PlayerReplicationInfo P, optional bool bBan)


KickRequested[edit]

interface function bool KickRequested ()


LoadPlayers[edit]

function LoadPlayers ()


LongClientAdjustPosition[edit]

function LongClientAdjustPosition (float TimeStamp, name newState, Actor.EPhysics newPhysics, float NewLocX, float NewLocY, float NewLocZ, float NewVelX, float NewVelY, float NewVelZ, Actor NewBase, float NewFloorX, float NewFloorY, float NewFloorZ)


MOTDEnabled[edit]

function interface bool MOTDEnabled ()


MoveAutonomous[edit]

final function MoveAutonomous (float DeltaTime, bool NewbRun, bool NewbSprint, bool NewbDuck, bool NewbJump, bool NewbPressedJump, bool NewbDoubleJump, Actor.EDoubleClickDir DoubleClickMove, Object.Vector newAccel, Object.Rotator DeltaRot)


NotifyRocketLockOnA[edit]

simulated function NotifyRocketLockOnA ()


NotifyRocketLockOnB[edit]

simulated function NotifyRocketLockOnB ()


NotifyRocketLockOnC[edit]

simulated function NotifyRocketLockOnC ()


NotifyRocketLockOnD[edit]

simulated function NotifyRocketLockOnD ()


PawnDied[edit]

function PawnDied (Pawn P)

Overrides: Controller.PawnDied


PendingStasis[edit]

function PendingStasis ()

Overrides: Controller.PendingStasis


PlayAnnouncement[edit]

simulated function PlayAnnouncement (Sound ASound, byte AnnouncementLevel, optional bool bForce)


PlayBeepSound[edit]

simulated function PlayBeepSound ()


PlayerMove[edit]

function PlayerMove (float DeltaTime)


PlayerSees[edit]

simulated function Actor PlayerSees (float MaxDistance, float MaxLatency)


PlayerSeesEx[edit]

simulated function Actor PlayerSeesEx (float MaxDistance, float MaxLatency, out Object.Vector CameraLocation, out Object.Rotator CameraRotation)


PlayerSeesEx2[edit]

simulated function Actor PlayerSeesEx2 (float MaxDistance, float MaxLatency, out Object.Vector CameraLocation, out Object.Rotator CameraRotation, out Object.Vector HitLocation, out Object.Vector HitNormal)


PlayIntroMusic[edit]

function interface PlayIntroMusic ()


PlayLoadingMusic[edit]

function interface PlayLoadingMusic ()


Possess[edit]

function Possess (Pawn aPawn)

Overrides: Controller.Possess


ProcessDrive[edit]

function ProcessDrive (float InForward, float InStrafe, bool InJump, Object.Rotator DeltaRot)


ProcessMove[edit]

function ProcessMove (float DeltaTime, Object.Vector newAccel, Actor.EDoubleClickDir DoubleClickMove, Object.Rotator DeltaRot)


ProgressEnabled[edit]

function interface bool ProgressEnabled ()


ReplicateMove[edit]

function ReplicateMove (float DeltaTime, Object.Vector NewAccel, Actor.EDoubleClickDir DoubleClickMove, Object.Rotator DeltaRot)


Reset[edit]

function Reset ()

Overrides: Controller.Reset


ResetFOV[edit]

function ResetFOV ()


Restart[edit]

function Restart ()

Overrides: Controller.Restart


ServerAddCheats[edit]

function ServerAddCheats ()


ServerCanCheat[edit]

function bool ServerCanCheat ()


ServerChangeClass[edit]

function ServerChangeClass (class<PawnPawnClass)


ServerCheckCommandLine[edit]

function bool ServerCheckCommandLine (string CommandStr)


ServerDeployCheat[edit]

function bool ServerDeployCheat ()


ServerDrive[edit]

function ServerDrive (float InForward, float InStrafe, bool InJump, Object.Rotator DeltaRot)


ServerDumpStates[edit]

function ServerDumpStates ()


ServerGivePawn[edit]

function ServerGivePawn ()

Overrides: Controller.ServerGivePawn


ServerMove[edit]

function ServerMove (float TimeStamp, Object.Vector InAccel, Object.Vector ClientLoc, bool NewbRun, bool NewbSprint, bool NewbDuck, bool NewbJump, bool NewbJumpStatus, bool NewbDoubleJump, Actor.EDoubleClickDir DoubleClickMove, byte ClientRoll, int View, optional byte OldTimeDelta, optional int OldAccel)


ServerReload[edit]

function ServerReload ()


ServerRestartGame[edit]

function ServerRestartGame ()


ServerSetClientDemo[edit]

function ServerSetClientDemo ()


ServerSetTeamEnergy[edit]

function ServerSetTeamEnergy (int TeamNumber, float NewEnergyLevel)


ServerSpectateSpeed[edit]

function ServerSpectateSpeed (float F)


ServerThrowWeapon[edit]

function ServerThrowWeapon ()


ServerToggleBehindView[edit]

function ServerToggleBehindView ()


ServerToggleVehicleView[edit]

function ServerToggleVehicleView ()


ServerUnuse[edit]

function ServerUnuse ()


ServerUpdatePing[edit]

function ServerUpdatePing (int NewPing)


ServerUse[edit]

function ServerUse ()


ServerVerifyViewTarget[edit]

function ServerVerifyViewTarget ()


ServerViewNextPlayer[edit]

function ServerViewNextPlayer ()


ServerViewSelf[edit]

function ServerViewSelf ()


SetFOV[edit]

function SetFOV (float NewFOV)


SetFOVAngle[edit]

function SetFOVAngle (float newFOV)


SetPause[edit]

function bool SetPause (bool bPause, optional int Key)


SetUIAlpha[edit]

interface function SetUIAlpha (float A)


SetUseTarget[edit]

function SetUseTarget ()


ShakeView[edit]

simulated function ShakeView (float Magnitude, optional float Duration)

Overrides: Controller.ShakeView


ShortClientAdjustPosition[edit]

function ShortClientAdjustPosition (float TimeStamp, name newState, Actor.EPhysics newPhysics, float NewLocX, float NewLocY, float NewLocZ, Actor NewBase)


ShortServerMove[edit]

function ShortServerMove (float TimeStamp, Object.Vector ClientLoc, bool NewbRun, bool NewbSprint, bool NewbDuck, bool NewbJump, bool NewbJumpStatus, byte ClientRoll, int View)


ShouldAutoSwitch[edit]

function bool ShouldAutoSwitch ()


ShowHUD[edit]

interface function bool ShowHUD ()


ShowPoll[edit]

interface function bool ShowPoll ()


StartZoom[edit]

function StartZoom ()


StopForceFeedback[edit]

simulated function StopForceFeedback (optional string EffectName)


StopIntroMusic[edit]

function interface StopIntroMusic ()


StopLoadingMusic[edit]

function interface StopLoadingMusic ()


StopZoom[edit]

function StopZoom ()


TargetUnuse[edit]

function TargetUnuse ()


TargetUse[edit]

function TargetUse ()


ToggleZoom[edit]

function ToggleZoom ()


TurnAround[edit]

function TurnAround ()


TurnTowardNearestEnemy[edit]

function bool TurnTowardNearestEnemy ()


Typing[edit]

function Typing (bool bTyping)


UnPossess[edit]

function UnPossess ()

Overrides: Controller.UnPossess


UpdateRotation[edit]

function UpdateRotation (float DeltaTime, float maxPitch)


VeryShortClientAdjustPosition[edit]

function VeryShortClientAdjustPosition (float TimeStamp, float NewLocX, float NewLocY, float NewLocZ, Actor NewBase)


ViewNextBot[edit]

function ViewNextBot ()


ViewShake[edit]

function ViewShake (float DeltaTime)