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

UE2:PlayerController instance functions (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT2004 Object >> Actor >> Controller >> PlayerController (instance functions)

Contents

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

Instance functions

AcknowledgePossession

function AcknowledgePossession (Pawn P)


AddCheats

function AddCheats ()


AdjustAim

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

Overrides: Controller.AdjustAim


AdjustView

function AdjustView (float DeltaTime)

Overrides: Controller.AdjustView


AdminCommand

function AdminCommand (string CommandLine)


AdminReply

function AdminReply (string Reply)


AllowTextMessage

function bool AllowTextMessage (string Msg)


AllowTextToSpeech

function bool AllowTextToSpeech (PlayerReplicationInfo PRI, name Type)


AllowVoiceMessage

function bool AllowVoiceMessage (name MessageType)

Overrides: Controller.AllowVoiceMessage


AskForPawn

function AskForPawn ()


AutoJoinVoiceChat

simulated function AutoJoinVoiceChat ()


BecomeActivePlayer

function BecomeActivePlayer ()


BecomeSpectator

function BecomeSpectator ()


BeyondViewDistance

simulated function bool BeyondViewDistance (Object.Vector OtherLocation, float CullDistance)


BlendRot

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


CacheCalcView

function CacheCalcView (Actor ViewActor, Object.Vector CameraLocation, Object.Rotator CameraRotation)


CalcBehindView

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


CalcFirstPersonView

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


CallServerMove

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


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)


ChangeVoiceChatMode

simulated function ChangeVoiceChatMode (bool bEnable)


ChangeVoiceType

function ChangeVoiceType (string NewVoiceType)


ChatBan

simulated function bool ChatBan (int PlayerID, byte Type)


CheckShake

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


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)


ClientBecameActivePlayer

function ClientBecameActivePlayer ()


ClientBecameSpectator

function ClientBecameSpectator ()


ClientCapBandwidth

function ClientCapBandwidth (int Cap)


ClientDamageShake

private function ClientDamageShake (int damage)


ClientFlash

function ClientFlash (float scale, Object.Vector fog)


ClientGotoState

function ClientGotoState (name NewState, name NewLabel)


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


ClientSetActiveRoom

simulated function ClientSetActiveRoom (int ChannelIndex)


ClientSetBehindView

function ClientSetBehindView (bool B)


ClientSetClassicView

function ClientSetClassicView ()


ClientSetFixedCamera

function ClientSetFixedCamera (bool B)


ClientSetHUD

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


ClientSetInitialMusic

function ClientSetInitialMusic (string NewSong, Actor.EMusicTransition NewTransition)


ClientSetMusic

function ClientSetMusic (string NewSong, Actor.EMusicTransition NewTransition)


ClientSetWeaponViewShake

function ClientSetWeaponViewShake (bool B)


ClientStopForceFeedback

function ClientStopForceFeedback (optional string EffectName)


ClientUpdateFlagHolder

simulated function ClientUpdateFlagHolder (PlayerReplicationInfo PRI, int i)


ClientUpdatePosition

function ClientUpdatePosition ()


ClientVoiceMessage

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

Overrides: Controller.ClientVoiceMessage


CompressAccel

function int CompressAccel (int C)


CustomizeAnnouncer

function Sound CustomizeAnnouncer (Sound AnnouncementSound)


damageAttitudeTo

function damageAttitudeTo (Pawn Other, float Damage)

Overrides: Controller.damageAttitudeTo


DamageShake

function DamageShake (int damage)

Overrides: Controller.DamageShake


DemoClientSetHUD

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


DodgingIsEnabled

simulated function bool DodgingIsEnabled ()


DualRocketServerMove

function DualRocketServerMove (float TimeStamp0, Object.Vector InAccel0, bool NewbDuck0, byte ClientRoll0, int View0, float TimeStamp, Object.Vector InAccel, Object.Vector ClientLoc, bool NewbDuck, byte ClientRoll, int View)


DualServerMove

function DualServerMove (float TimeStamp0, Object.Vector InAccel0, byte PendingCompress, Actor.EDoubleClickDir DoubleClickMove0, int View0, float TimeStamp, Object.Vector InAccel, Object.Vector ClientLoc, Actor.EDoubleClickDir DoubleClickMove, byte ClientRoll, int View, optional byte OldTimeDelta, optional int OldAccel)


DualSpaceFighterServerMove

function DualSpaceFighterServerMove (float TimeStamp0, Object.Vector InAccel0, bool NewbDuck0, int ViewPitch0, int ViewYaw0, int ViewRoll0, float TimeStamp, Object.Vector InAccel, Object.Vector ClientLoc, bool NewbDuck, int ViewPitch, int ViewYaw, int ViewRoll)


DualTurretServerMove

function DualTurretServerMove (float TimeStamp0, bool NewbDuck0, byte ClientRoll0, int View0, float TimeStamp, Object.Vector ClientLoc, bool NewbDuck, byte ClientRoll, int View)


EndZoom

function EndZoom ()


EnterStartState

function EnterStartState ()


FindChannelPassword

simulated function string FindChannelPassword (string ChannelName)


FixFOV

simulated function FixFOV ()


ForceDeathUpdate

function ForceDeathUpdate ()


GetCustomRewardAnnouncerClass

simulated function string GetCustomRewardAnnouncerClass ()


GetCustomStatusAnnouncerClass

simulated function string GetCustomStatusAnnouncerClass ()


GetDefaultActiveChannel

simulated function string GetDefaultActiveChannel ()


GetFacingDirection

function int GetFacingDirection ()

Overrides: Controller.GetFacingDirection


GetFreeMove

final function SavedMove GetFreeMove ()


GetPathTo

function Actor GetPathTo (Actor Dest)


GetViewRotation

simulated function Object.Rotator GetViewRotation ()

Overrides: Controller.GetViewRotation


GivePawn

function GivePawn (Pawn NewPawn)


HandlePickup

function HandlePickup (Pickup pick)

Overrides: Controller.HandlePickup


HandleWalking

function HandleWalking ()


InitializeVoiceChat

simulated function InitializeVoiceChat ()


InitPrivateChatRoom

function InitPrivateChatRoom ()


IsDead

function bool IsDead ()


IsMouseInverted

simulated function bool IsMouseInverted ()


IsSpectating

function bool IsSpectating ()


KillAllPawns

function KillAllPawns (class<PawnaClass)


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)


MakeAdmin

function MakeAdmin ()


MoveAutonomous

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


NeedNetNotify

simulated function bool NeedNetNotify ()


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)


PlayRewardAnnouncement

simulated function PlayRewardAnnouncement (name AName, byte AnnouncementLevel, optional bool bForce)


PlayStatusAnnouncement

simulated function PlayStatusAnnouncement (name AName, byte AnnouncementLevel, optional bool bForce)


Possess

function Possess (Pawn aPawn)

Overrides: Controller.Possess


PrecacheAnnouncements

simulated function PrecacheAnnouncements ()


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)


QueueAnnouncement

simulated function QueueAnnouncement (name ASoundName, byte AnnouncementLevel, optional AnnouncerQueueManager.EAPriority Priority, optional byte Switch)


ReplicateMove

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


ReportAdmin

function ReportAdmin (optional string ReportText)


Reset

function Reset ()

Overrides: Controller.Reset


ResetFOV

function ResetFOV ()


ResetTimeMargin

function ResetTimeMargin ()


Restart

function Restart ()

Overrides: Controller.Restart


RocketServerMove

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


ServerAcknowledgePossession

function ServerAcknowledgePossession (Pawn P, float NewHand, bool bNewAutoTaunt)


ServerAdminLogin

function ServerAdminLogin (string CmdLine)


ServerChangeTeam

function ServerChangeTeam (int N)


ServerChangeVoiceChatMode

function ServerChangeVoiceChatMode (bool bEnable)


ServerChatDebug

function ServerChatDebug ()


ServerChatRestriction

function ServerChatRestriction (int PlayerID, byte Type)


ServerDrive

function ServerDrive (float InForward, float InStrafe, float aUp, bool InJump, int View)


ServerGetWeaponStats

function ServerGetWeaponStats (Weapon W)


ServerGivePawn

function ServerGivePawn ()

Overrides: Controller.ServerGivePawn


ServerJoinVoiceChannel

function VoiceChatRoom.EJoinChatResult ServerJoinVoiceChannel (int ChannelIndex, optional string ChannelPassword)


ServerLeaveVoiceChannel

function ServerLeaveVoiceChannel (int ChannelIndex)


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)


ServerMutate

function ServerMutate (string MutateString)


ServerPause

function ServerPause ()


ServerRequestBanInfo

function ServerRequestBanInfo (int PlayerID)


ServerRestartGame

function ServerRestartGame ()


ServerSay

function ServerSay (string Msg)


ServerSetAutoTaunt

function ServerSetAutoTaunt (bool Value)


ServerSetChatPassword

function ServerSetChatPassword (string NewPassword)


ServerSetClientDemo

function ServerSetClientDemo ()


ServerSetHandedness

function ServerSetHandedness (float hand)


ServerShortTimeout

function ServerShortTimeout ()


ServerSpeak

function ServerSpeak (int ChannelIndex, optional string ChannelPassword)


ServerSpectate

function ServerSpectate ()


ServerSpectateSpeed

function ServerSpectateSpeed (float F)


ServerSpeech

function ServerSpeech (name Type, int Index, string Callsign)


ServerTeamSay

function ServerTeamSay (string Msg)


ServerThrowWeapon

function ServerThrowWeapon ()


ServerToggleBehindView

function ServerToggleBehindView ()


ServerUpdatePing

function ServerUpdatePing (int NewPing)


ServerUse

function ServerUse ()


ServerVerifyViewTarget

function ServerVerifyViewTarget ()


ServerViewNextPlayer

function ServerViewNextPlayer ()


ServerViewSelf

function ServerViewSelf ()


ServerVoiceCommand

function ServerVoiceCommand (string RecognizedString)


SetChannelPassword

simulated function SetChannelPassword (string ChannelName, string ChannelPassword)


SetCustomRewardAnnouncerClass

simulated function SetCustomRewardAnnouncerClass (string NewAnnouncerClass)


SetCustomStatusAnnouncerClass

simulated function SetCustomStatusAnnouncerClass (string NewAnnouncerClass)


SetDodging

simulated function SetDodging (bool Enabled)


SetFOV

function SetFOV (float NewFOV)


SetFOVAngle

function SetFOVAngle (float newFOV)


SetHand

function SetHand (int IntValue)


SetPause

function bool SetPause (bool bPause)


ShakeView

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

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)


ShowMidGameMenu

function ShowMidGameMenu (bool bPause)


SpaceFighterServerMove

function SpaceFighterServerMove (float TimeStamp, Object.Vector InAccel, Object.Vector ClientLoc, bool NewbDuck, int ViewPitch, int ViewYaw, int ViewRoll)


SpawnDefaultHUD

function SpawnDefaultHUD ()


StartZoom

function StartZoom ()


StartZoomWithMax

function StartZoomWithMax (float MaxZoomLevel)


StopForceFeedback

simulated function StopForceFeedback (optional string EffectName)


StopViewShaking

function StopViewShaking ()


StopZoom

function StopZoom ()


ToggleZoom

function ToggleZoom ()


ToggleZoomWithMax

function ToggleZoomWithMax (float MaxZoomLevel)


TurnAround

function TurnAround ()


TurnTowardNearestEnemy

function bool TurnTowardNearestEnemy ()


TurretServerMove

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


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)


UpdateShakeRotComponent

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


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)


WeaponShakeView

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