The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:PlayerController instance functions (UT2003)

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

Contents

PlayerController instance functions in other games:
U2, U2XMP, UE2Runtime, 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


AdminCommand[edit]

function AdminCommand (string CommandLine)


AdminReply[edit]

function AdminReply (string Reply)


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, float dt)


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)


ClientDamageShake[edit]

private function ClientDamageShake (int damage)


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)


ClientSetClassicView[edit]

function ClientSetClassicView ()


ClientSetFixedCamera[edit]

function ClientSetFixedCamera (bool B)


ClientSetHUD[edit]

simulated function ClientSetHUD (class<HudnewHUDClass, class<ScoreBoardnewScoringClass)


ClientSetInitialMusic[edit]

function ClientSetInitialMusic (string NewSong, Actor.EMusicTransition NewTransition)


ClientSetMusic[edit]

function ClientSetMusic (string NewSong, Actor.EMusicTransition NewTransition)


ClientSetWeaponViewShake[edit]

function ClientSetWeaponViewShake (bool B)


ClientStopForceFeedback[edit]

function ClientStopForceFeedback (optional string EffectName)


ClientUpdateFlagHolder[edit]

simulated function ClientUpdateFlagHolder (PlayerReplicationInfo PRI, int i)


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)


CustomizeAnnouncer[edit]

function Sound CustomizeAnnouncer (Sound AnnouncementSound)


damageAttitudeTo[edit]

function damageAttitudeTo (Pawn Other, float Damage)

Overrides: Controller.damageAttitudeTo


DamageShake[edit]

function DamageShake (int damage)

Overrides: Controller.DamageShake


DemoClientSetHUD[edit]

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


DodgingIsEnabled[edit]

simulated function bool DodgingIsEnabled ()


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


LimitPitch[edit]

function int LimitPitch (int pitch)


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)


MakeAdmin[edit]

function MakeAdmin ()


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


ReportAdmin[edit]

function ReportAdmin ()


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


ServerSetAutoTaunt[edit]

function ServerSetAutoTaunt (bool Value)


ServerSetClientDemo[edit]

function ServerSetClientDemo ()


ServerSetHandedness[edit]

function ServerSetHandedness (float hand)


ServerSpectateSpeed[edit]

function ServerSpectateSpeed (float F)


ServerThrowWeapon[edit]

function ServerThrowWeapon ()


ServerUpdatePing[edit]

function ServerUpdatePing (int NewPing)


ServerUse[edit]

function ServerUse ()


ServerVerifyViewTarget[edit]

function ServerVerifyViewTarget ()


ServerViewNextPlayer[edit]

function ServerViewNextPlayer ()


ServerViewSelf[edit]

function ServerViewSelf ()


SetDodging[edit]

simulated function SetDodging (bool Enabled)


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 (Object.Vector shRotMag, Object.Vector shRotRate, float shRotTime, Object.Vector shOffsetMag, Object.Vector shOffsetRate, float shOffsetTime)

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


UpdateFlashComponent[edit]

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


UpdateRotation[edit]

function UpdateRotation (float DeltaTime, float maxPitch)


UpdateShakeRotComponent[edit]

function UpdateShakeRotComponent (out float max, out int current, out float rate, out float time, float dt)


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)


WeaponShakeView[edit]

function WeaponShakeView (Object.Vector shRotMag, Object.Vector shRotRate, float shRotTime, Object.Vector shOffsetMag, Object.Vector shOffsetRate, float shOffsetTime)