I'm a doctor, not a mechanic

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

AddCheats

function AddCheats ()


AdjustAim

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

Overrides: Controller.AdjustAim


AdjustView

function AdjustView (float DeltaTime)

Overrides: Controller.AdjustView


AllowVoiceMessage

function bool AllowVoiceMessage (name MessageType)

Overrides: Controller.AllowVoiceMessage


AskForPawn

function AskForPawn ()


BlendRot

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


CalcBehindView

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


CalcFirstPersonView

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


CanRestartPlayer

function bool CanRestartPlayer ()


ChangeAlwaysMouseLook

function ChangeAlwaysMouseLook (bool B)


ChangedWeapon

function ChangedWeapon ()

Overrides: Controller.ChangedWeapon


ChangeName

function ChangeName (coerce string S)


ChangeStairLook

function ChangeStairLook (bool B)


CheckShake

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


CleanOutSavedMoves

function CleanOutSavedMoves ()


ClearDoubleClick

function ClearDoubleClick ()


ClientAdjustGlow

function ClientAdjustGlow (float scale, Object.Vector fog)


ClientAdjustPosition

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


ClientCapBandwidth

function ClientCapBandwidth (int Cap)


ClientChangeVoiceChatter

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


ClientFlash

function ClientFlash (float scale, Object.Vector fog)


ClientGotoState

function ClientGotoState (name NewState, name NewLabel)


ClientLeaveVoiceChat

simulated function ClientLeaveVoiceChat ()


ClientPlayForceFeedback

simulated function ClientPlayForceFeedback (string EffectName)


ClientPlaySound

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


ClientReliablePlaySound

simulated function ClientReliablePlaySound (Sound ASound, optional bool bVolumeControl)


ClientRestart

function ClientRestart ()


ClientSetBehindView

function ClientSetBehindView (bool B)


ClientSetFixedCamera

function ClientSetFixedCamera (bool B)


ClientSetHUD

function ClientSetHUD (class<HUDnewHUDType, class<ScoreBoardnewScoringType)


ClientSetMusic

function ClientSetMusic (string NewSong, Actor.EMusicTransition NewTransition)


ClientShake

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


ClientStopForceFeedback

function ClientStopForceFeedback (optional string EffectName)


ClientUpdatePosition

function ClientUpdatePosition ()


ClientVoiceMessage

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

Overrides: Controller.ClientVoiceMessage


CompressAccel

function int CompressAccel (int C)


damageAttitudeTo

function damageAttitudeTo (Pawn Other, float Damage)

Overrides: Controller.damageAttitudeTo


DemoClientSetHUD

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


EndZoom

function EndZoom ()


EnterStartState

function EnterStartState ()


FixFOV

function FixFOV ()


ForceDeathUpdate

function ForceDeathUpdate ()


GetFacingDirection

function int GetFacingDirection ()

Overrides: Controller.GetFacingDirection


GetFreeMove

final function SavedMove GetFreeMove ()


GetViewRotation

function Object.Rotator GetViewRotation ()

Overrides: Controller.GetViewRotation


GivePawn

function GivePawn (Pawn NewPawn)


HandlePickup

function HandlePickup (Pickup pick)

Overrides: Controller.HandlePickup


HandleWalking

function HandleWalking ()


IsDead

function bool IsDead ()


IsSpectating

function bool IsSpectating ()


LoadPlayers

function LoadPlayers ()


LongClientAdjustPosition

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

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


PawnDied

function PawnDied (Pawn P)

Overrides: Controller.PawnDied


PendingStasis

function PendingStasis ()

Overrides: Controller.PendingStasis


PlayAnnouncement

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


PlayBeepSound

simulated function PlayBeepSound ()


PlayerMove

function PlayerMove (float DeltaTime)


Possess

function Possess (Pawn aPawn)

Overrides: Controller.Possess


ProcessDrive

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


ProcessMove

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


ReplicateMove

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


Reset

function Reset ()

Overrides: Controller.Reset


ResetFOV

function ResetFOV ()


Restart

function Restart ()

Overrides: Controller.Restart


RocketServerMove

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


ServerDrive

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


ServerGivePawn

function ServerGivePawn ()

Overrides: Controller.ServerGivePawn


ServerMove

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

function ServerRestartGame ()


ServerSetClientDemo

function ServerSetClientDemo ()


ServerSetHandedness

function ServerSetHandedness (float hand)


ServerSpectateSpeed

function ServerSpectateSpeed (float F)


ServerThrowWeapon

function ServerThrowWeapon ()


ServerToggleBehindView

function ServerToggleBehindView ()


ServerUpdatePing

function ServerUpdatePing (int NewPing)


ServerUse

function ServerUse ()


ServerVerifyViewTarget

function ServerVerifyViewTarget ()


ServerViewNextPlayer

function ServerViewNextPlayer ()


ServerViewSelf

function ServerViewSelf ()


SetFOV

function SetFOV (float NewFOV)


SetFOVAngle

function SetFOVAngle (float newFOV)


SetHand

function SetHand (int IntValue)


SetPause

function bool SetPause (bool bPause)


ShakeView

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

Overrides: Controller.ShakeView


ShortClientAdjustPosition

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


ShortServerMove

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


SpawnDefaultHUD

function SpawnDefaultHUD ()


StartZoom

function StartZoom ()


StopForceFeedback

simulated function StopForceFeedback (optional string EffectName)


StopZoom

function StopZoom ()


ToggleZoom

function ToggleZoom ()


TurnAround

function TurnAround ()


TurnTowardNearestEnemy

function bool TurnTowardNearestEnemy ()


Typing

function Typing (bool bTyping)


UnPossess

function UnPossess ()

Overrides: Controller.UnPossess


UpdateFlashComponent

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


UpdateRotation

function UpdateRotation (float DeltaTime, float maxPitch)


VeryShortClientAdjustPosition

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


ViewFlash

function ViewFlash (float DeltaTime)


ViewNextBot

function ViewNextBot ()


ViewShake

function ViewShake (float DeltaTime)