Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:PlayerController instance functions (UE2Runtime)

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

Contents

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

Instance functions[edit]

AddCheats[edit]

function AddCheats ()


AdjustAim[edit]

function Object.Rotator AdjustAim (Ammunition FiredAmmunition, Object.Vector projStart, int aimerror)

Overrides: Controller.AdjustAim


AdjustView[edit]

function AdjustView (float DeltaTime)

Overrides: Controller.AdjustView


AllowVoiceMessage[edit]

function bool AllowVoiceMessage (name MessageType)

Overrides: Controller.AllowVoiceMessage


AskForPawn[edit]

function AskForPawn ()


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 ()


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)


CheckShake[edit]

function CheckShake (out float MaxOffset, out float Offset, out float Rate, out float Time)


CleanOutSavedMoves[edit]

function CleanOutSavedMoves ()


ClearDoubleClick[edit]

function ClearDoubleClick ()


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 ()


ClientSetBehindView[edit]

function ClientSetBehindView (bool B)


ClientSetFixedCamera[edit]

function ClientSetFixedCamera (bool B)


ClientSetHUD[edit]

function ClientSetHUD (class<HUDnewHUDType, class<ScoreBoardnewScoringType)


ClientSetMusic[edit]

function ClientSetMusic (string NewSong, Actor.EMusicTransition NewTransition)


ClientShake[edit]

private function ClientShake (Object.Vector ShakeRoll, Object.Vector OffsetMag, Object.Vector ShakeRate, float OffsetTime)


ClientStopForceFeedback[edit]

function ClientStopForceFeedback (optional string EffectName)


ClientUpdatePosition[edit]

function ClientUpdatePosition ()


ClientVoiceMessage[edit]

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

Overrides: Controller.ClientVoiceMessage


CompressAccel[edit]

function int CompressAccel (int C)


damageAttitudeTo[edit]

function damageAttitudeTo (Pawn Other, float Damage)

Overrides: Controller.damageAttitudeTo


DemoClientSetHUD[edit]

simulated function DemoClientSetHUD (class<HUDnewHUDClass, class<ScoreBoardnewScoringClass)


EndZoom[edit]

function EndZoom ()


EnterStartState[edit]

function EnterStartState ()


FixFOV[edit]

function FixFOV ()


ForceDeathUpdate[edit]

function ForceDeathUpdate ()


GetFacingDirection[edit]

function int GetFacingDirection ()

Overrides: Controller.GetFacingDirection


GetFreeMove[edit]

final function SavedMove GetFreeMove ()


GetViewRotation[edit]

function Object.Rotator GetViewRotation ()

Overrides: Controller.GetViewRotation


GivePawn[edit]

function GivePawn (Pawn NewPawn)


HandlePickup[edit]

function HandlePickup (Pickup pick)

Overrides: Controller.HandlePickup


HandleWalking[edit]

function HandleWalking ()


IsDead[edit]

function bool IsDead ()


IsSpectating[edit]

function bool IsSpectating ()


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)


MoveAutonomous[edit]

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


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)


Possess[edit]

function Possess (Pawn aPawn)

Overrides: Controller.Possess


ProcessDrive[edit]

function ProcessDrive (float InForward, float InStrafe, float InUp, bool InJump)


ProcessMove[edit]

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


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


RocketServerMove[edit]

function RocketServerMove (float TimeStamp, Object.Vector InAccel, Object.Vector ClientLoc, byte ClientRoll, int View)


ServerDrive[edit]

function ServerDrive (float InForward, float InStrafe, float InUp, bool InJump)


ServerGivePawn[edit]

function ServerGivePawn ()

Overrides: Controller.ServerGivePawn


ServerMove[edit]

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


ServerRestartGame[edit]

function ServerRestartGame ()


ServerSetClientDemo[edit]

function ServerSetClientDemo ()


ServerSetHandedness[edit]

function ServerSetHandedness (float hand)


ServerSpectateSpeed[edit]

function ServerSpectateSpeed (float F)


ServerThrowWeapon[edit]

function ServerThrowWeapon ()


ServerToggleBehindView[edit]

function ServerToggleBehindView ()


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)


SetHand[edit]

function SetHand (int IntValue)


SetPause[edit]

function bool SetPause (bool bPause)


ShakeView[edit]

function ShakeView (float shaketime, float RollMag, Object.Vector OffsetMag, float RollRate, Object.Vector OffsetRate, float OffsetTime)

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 NewbDuck, bool NewbJumpStatus, byte ClientRoll, int View)


SpawnDefaultHUD[edit]

function SpawnDefaultHUD ()


StartZoom[edit]

function StartZoom ()


StopForceFeedback[edit]

simulated function StopForceFeedback (optional string EffectName)


StopZoom[edit]

function StopZoom ()


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


UpdateFlashComponent[edit]

final function float UpdateFlashComponent (float current, float Step, float goal)


UpdateRotation[edit]

function UpdateRotation (float DeltaTime, float maxPitch)


VeryShortClientAdjustPosition[edit]

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


ViewFlash[edit]

function ViewFlash (float DeltaTime)


ViewNextBot[edit]

function ViewNextBot ()


ViewShake[edit]

function ViewShake (float DeltaTime)