Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

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

AdjustAim

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

Overrides: Controller.AdjustAim


AdjustView

function AdjustView (float DeltaTime)

Overrides: Controller.AdjustView


AllowSelectionMenuEscape

interface function bool AllowSelectionMenuEscape ()


AllowVoiceMessage

function bool AllowVoiceMessage (name MessageType)

Overrides: Controller.AllowVoiceMessage


AskForPawn

function AskForPawn ()


BadConnect

interface function bool BadConnect ()


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


CanSwitchToStateOnClient

simulated function bool CanSwitchToStateOnClient (name NewState)


ChangeAlwaysMouseLook

function ChangeAlwaysMouseLook (bool B)


ChangedWeapon

function ChangedWeapon ()

Overrides: Controller.ChangedWeapon


ChangeName

function ChangeName (coerce string S)


ChangeStairLook

function ChangeStairLook (bool B)


CleanOutSavedMoves

function CleanOutSavedMoves ()


ClearDoubleClick

function ClearDoubleClick ()


ClientAddCheats

function ClientAddCheats ()


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 (optional Pawn NewPawn)


ClientSendEvent

final function ClientSendEvent (byte EventID)


ClientSetBehindView

function ClientSetBehindView (bool B)


ClientSetFixedCamera

function ClientSetFixedCamera (bool B)


ClientSetHUD

function ClientSetHUD (name NewHUD, name NewScoreboard)


ClientSetMusic

function ClientSetMusic (string NewSong, Actor.EMusicTransition NewTransition)


ClientSetThirdPersonVehicleMode

function ClientSetThirdPersonVehicleMode (bool B)


ClientShake

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


ClientStopForceFeedback

function ClientStopForceFeedback (optional string EffectName)


ClientUpdatePosition

function ClientUpdatePosition ()


ClientVoiceMessage

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

Overrides: Controller.ClientVoiceMessage


CompressAccel

function int CompressAccel (int C)


ContinueNotifyRocketLockOnA

simulated function ContinueNotifyRocketLockOnA ()


ContinueNotifyRocketLockOnB

simulated function ContinueNotifyRocketLockOnB ()


ContinueNotifyRocketLockOnC

simulated function ContinueNotifyRocketLockOnC ()


ContinueNotifyRocketLockOnD

simulated function ContinueNotifyRocketLockOnD ()


damageAttitudeTo

function damageAttitudeTo (Pawn Other, float Damage)

Overrides: Controller.damageAttitudeTo


DemoClientSetHUD

simulated function DemoClientSetHUD (name NewHUD, name NewScoreboard)


DoUnTeleport

simulated function DoUnTeleport ()


EndZoom

function EndZoom ()


EnterStartState

function EnterStartState ()


FindGoodView

function FindGoodView ()


FixFOV

function FixFOV ()


ForceDeathUpdate

function ForceDeathUpdate ()


GameOverAnnounce

function GameOverAnnounce (int i)


GetAdminInfo

function interface string GetAdminInfo ()


GetFacingDirection

function int GetFacingDirection ()

Overrides: Controller.GetFacingDirection


GetFreeMove

final function SavedMove GetFreeMove ()


GetKickPlayer

interface function string GetKickPlayer ()


GetMOTDLine1

function interface string GetMOTDLine1 ()


GetMOTDLine2

function interface string GetMOTDLine2 ()


GetMOTDLine3

function interface string GetMOTDLine3 ()


GetMOTDLine4

function interface string GetMOTDLine4 ()


GetPollOwner

interface function string GetPollOwner ()


GetProgressColorA

function interface Object.Color GetProgressColorA ()


GetProgressColorB

function interface Object.Color GetProgressColorB ()


GetProgressColorC

function interface Object.Color GetProgressColorC ()


GetProgressColorD

function interface Object.Color GetProgressColorD ()


GetProgressMessageA

function interface string GetProgressMessageA ()


GetProgressMessageB

function interface string GetProgressMessageB ()


GetProgressMessageC

function interface string GetProgressMessageC ()


GetProgressMessageD

function interface string GetProgressMessageD ()


GetServerName

function interface string GetServerName ()


GetUIAlpha

interface function float GetUIAlpha ()


GetUseBarEnable

interface function bool GetUseBarEnable ()


GetUseBarIconIndex

interface function int GetUseBarIconIndex ()


GetUseBarPercent

interface function float GetUseBarPercent ()


GetUseText

interface function string GetUseText ()


GetViewRotation

function Object.Rotator GetViewRotation ()

Overrides: Controller.GetViewRotation


GetVotesRequired

interface function string GetVotesRequired ()


GivePawn

function GivePawn (Pawn NewPawn)


HandleDying

function HandleDying ()

Overrides: Controller.HandleDying


HandleMercyKilled

function HandleMercyKilled ()

Overrides: Controller.HandleMercyKilled


HandlePickup

function HandlePickup (Pickup pick)

Overrides: Controller.HandlePickup


HandleRevived

function HandleRevived ()

Overrides: Controller.HandleRevived


HandleSpawnedObject

function HandleSpawnedObject (Object Obj, string ClassName)


HandleWalking

function HandleWalking ()


IsDead

function bool IsDead ()


IsSpectating

function bool IsSpectating ()


KickBanRequested

interface function bool KickBanRequested ()


KickRequest

function KickRequest (PlayerReplicationInfo P, optional bool bBan)


KickRequested

interface function bool KickRequested ()


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)


MOTDEnabled

function interface bool MOTDEnabled ()


MoveAutonomous

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

simulated function NotifyRocketLockOnA ()


NotifyRocketLockOnB

simulated function NotifyRocketLockOnB ()


NotifyRocketLockOnC

simulated function NotifyRocketLockOnC ()


NotifyRocketLockOnD

simulated function NotifyRocketLockOnD ()


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)


PlayerSees

simulated function Actor PlayerSees (float MaxDistance, float MaxLatency)


PlayerSeesEx

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


PlayerSeesEx2

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

function interface PlayIntroMusic ()


PlayLoadingMusic

function interface PlayLoadingMusic ()


Possess

function Possess (Pawn aPawn)

Overrides: Controller.Possess


ProcessDrive

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


ProcessMove

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


ProgressEnabled

function interface bool ProgressEnabled ()


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


ServerAddCheats

function ServerAddCheats ()


ServerCanCheat

function bool ServerCanCheat ()


ServerChangeClass

function ServerChangeClass (class<PawnPawnClass)


ServerCheckCommandLine

function bool ServerCheckCommandLine (string CommandStr)


ServerDeployCheat

function bool ServerDeployCheat ()


ServerDrive

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


ServerDumpStates

function ServerDumpStates ()


ServerGivePawn

function ServerGivePawn ()

Overrides: Controller.ServerGivePawn


ServerMove

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

function ServerReload ()


ServerRestartGame

function ServerRestartGame ()


ServerSetClientDemo

function ServerSetClientDemo ()


ServerSetTeamEnergy

function ServerSetTeamEnergy (int TeamNumber, float NewEnergyLevel)


ServerSpectateSpeed

function ServerSpectateSpeed (float F)


ServerThrowWeapon

function ServerThrowWeapon ()


ServerToggleBehindView

function ServerToggleBehindView ()


ServerToggleVehicleView

function ServerToggleVehicleView ()


ServerUnuse

function ServerUnuse ()


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)


SetPause

function bool SetPause (bool bPause, optional int Key)


SetUIAlpha

interface function SetUIAlpha (float A)


SetUseTarget

function SetUseTarget ()


ShakeView

simulated function ShakeView (float Magnitude, optional float Duration)

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


ShouldAutoSwitch

function bool ShouldAutoSwitch ()


ShowHUD

interface function bool ShowHUD ()


ShowPoll

interface function bool ShowPoll ()


StartZoom

function StartZoom ()


StopForceFeedback

simulated function StopForceFeedback (optional string EffectName)


StopIntroMusic

function interface StopIntroMusic ()


StopLoadingMusic

function interface StopLoadingMusic ()


StopZoom

function StopZoom ()


TargetUnuse

function TargetUnuse ()


TargetUse

function TargetUse ()


ToggleZoom

function ToggleZoom ()


TurnAround

function TurnAround ()


TurnTowardNearestEnemy

function bool TurnTowardNearestEnemy ()


Typing

function Typing (bool bTyping)


UnPossess

function UnPossess ()

Overrides: Controller.UnPossess


UpdateRotation

function UpdateRotation (float DeltaTime, float maxPitch)


VeryShortClientAdjustPosition

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


ViewNextBot

function ViewNextBot ()


ViewShake

function ViewShake (float DeltaTime)