I love the smell of UnrealEd crashing in the morning. – tarquin
UE2:PlayerController instance functions (UT2004)
From Unreal Wiki, The Unreal Engine Documentation Site
Object >> Actor >> Controller >> PlayerController (instance functions) |
Contents
- 1 Instance functions
- 1.1 AcknowledgePossession
- 1.2 AddCheats
- 1.3 AdjustAim
- 1.4 AdjustView
- 1.5 AdminCommand
- 1.6 AdminReply
- 1.7 AllowTextMessage
- 1.8 AllowTextToSpeech
- 1.9 AllowVoiceMessage
- 1.10 AskForPawn
- 1.11 AutoJoinVoiceChat
- 1.12 BecomeActivePlayer
- 1.13 BecomeSpectator
- 1.14 BeyondViewDistance
- 1.15 BlendRot
- 1.16 CacheCalcView
- 1.17 CalcBehindView
- 1.18 CalcFirstPersonView
- 1.19 CallServerMove
- 1.20 CanRestartPlayer
- 1.21 ChangeAlwaysMouseLook
- 1.22 ChangedWeapon
- 1.23 ChangeName
- 1.24 ChangeStairLook
- 1.25 ChangeVoiceChatMode
- 1.26 ChangeVoiceType
- 1.27 ChatBan
- 1.28 CheckShake
- 1.29 CleanOutSavedMoves
- 1.30 ClearDoubleClick
- 1.31 ClientAdjustGlow
- 1.32 ClientAdjustPosition
- 1.33 ClientBecameActivePlayer
- 1.34 ClientBecameSpectator
- 1.35 ClientCapBandwidth
- 1.36 ClientDamageShake
- 1.37 ClientFlash
- 1.38 ClientGotoState
- 1.39 ClientPlayForceFeedback
- 1.40 ClientPlaySound
- 1.41 ClientReliablePlaySound
- 1.42 ClientRestart
- 1.43 ClientSetActiveRoom
- 1.44 ClientSetBehindView
- 1.45 ClientSetClassicView
- 1.46 ClientSetFixedCamera
- 1.47 ClientSetHUD
- 1.48 ClientSetInitialMusic
- 1.49 ClientSetMusic
- 1.50 ClientSetWeaponViewShake
- 1.51 ClientStopForceFeedback
- 1.52 ClientUpdateFlagHolder
- 1.53 ClientUpdatePosition
- 1.54 ClientVoiceMessage
- 1.55 CompressAccel
- 1.56 CustomizeAnnouncer
- 1.57 damageAttitudeTo
- 1.58 DamageShake
- 1.59 DemoClientSetHUD
- 1.60 DodgingIsEnabled
- 1.61 DualRocketServerMove
- 1.62 DualServerMove
- 1.63 DualSpaceFighterServerMove
- 1.64 DualTurretServerMove
- 1.65 EndZoom
- 1.66 EnterStartState
- 1.67 FindChannelPassword
- 1.68 FixFOV
- 1.69 ForceDeathUpdate
- 1.70 GetCustomRewardAnnouncerClass
- 1.71 GetCustomStatusAnnouncerClass
- 1.72 GetDefaultActiveChannel
- 1.73 GetFacingDirection
- 1.74 GetFreeMove
- 1.75 GetPathTo
- 1.76 GetViewRotation
- 1.77 GivePawn
- 1.78 HandlePickup
- 1.79 HandleWalking
- 1.80 InitializeVoiceChat
- 1.81 InitPrivateChatRoom
- 1.82 IsDead
- 1.83 IsMouseInverted
- 1.84 IsSpectating
- 1.85 KillAllPawns
- 1.86 LoadPlayers
- 1.87 LongClientAdjustPosition
- 1.88 MakeAdmin
- 1.89 MoveAutonomous
- 1.90 NeedNetNotify
- 1.91 PawnDied
- 1.92 PendingStasis
- 1.93 PlayAnnouncement
- 1.94 PlayBeepSound
- 1.95 PlayerMove
- 1.96 PlayRewardAnnouncement
- 1.97 PlayStatusAnnouncement
- 1.98 Possess
- 1.99 PrecacheAnnouncements
- 1.100 ProcessDrive
- 1.101 ProcessMove
- 1.102 QueueAnnouncement
- 1.103 ReplicateMove
- 1.104 ReportAdmin
- 1.105 Reset
- 1.106 ResetFOV
- 1.107 ResetTimeMargin
- 1.108 Restart
- 1.109 RocketServerMove
- 1.110 ServerAcknowledgePossession
- 1.111 ServerAdminLogin
- 1.112 ServerChangeTeam
- 1.113 ServerChangeVoiceChatMode
- 1.114 ServerChatDebug
- 1.115 ServerChatRestriction
- 1.116 ServerDrive
- 1.117 ServerGetWeaponStats
- 1.118 ServerGivePawn
- 1.119 ServerJoinVoiceChannel
- 1.120 ServerLeaveVoiceChannel
- 1.121 ServerMove
- 1.122 ServerMutate
- 1.123 ServerPause
- 1.124 ServerRequestBanInfo
- 1.125 ServerRestartGame
- 1.126 ServerSay
- 1.127 ServerSetAutoTaunt
- 1.128 ServerSetChatPassword
- 1.129 ServerSetClientDemo
- 1.130 ServerSetHandedness
- 1.131 ServerShortTimeout
- 1.132 ServerSpeak
- 1.133 ServerSpectate
- 1.134 ServerSpectateSpeed
- 1.135 ServerSpeech
- 1.136 ServerTeamSay
- 1.137 ServerThrowWeapon
- 1.138 ServerToggleBehindView
- 1.139 ServerUpdatePing
- 1.140 ServerUse
- 1.141 ServerVerifyViewTarget
- 1.142 ServerViewNextPlayer
- 1.143 ServerViewSelf
- 1.144 ServerVoiceCommand
- 1.145 SetChannelPassword
- 1.146 SetCustomRewardAnnouncerClass
- 1.147 SetCustomStatusAnnouncerClass
- 1.148 SetDodging
- 1.149 SetFOV
- 1.150 SetFOVAngle
- 1.151 SetHand
- 1.152 SetPause
- 1.153 ShakeView
- 1.154 ShortClientAdjustPosition
- 1.155 ShortServerMove
- 1.156 ShowMidGameMenu
- 1.157 SpaceFighterServerMove
- 1.158 SpawnDefaultHUD
- 1.159 StartZoom
- 1.160 StartZoomWithMax
- 1.161 StopForceFeedback
- 1.162 StopViewShaking
- 1.163 StopZoom
- 1.164 ToggleZoom
- 1.165 ToggleZoomWithMax
- 1.166 TurnAround
- 1.167 TurnTowardNearestEnemy
- 1.168 TurretServerMove
- 1.169 Typing
- 1.170 UnPossess
- 1.171 UpdateFlashComponent
- 1.172 UpdateRotation
- 1.173 UpdateShakeRotComponent
- 1.174 VeryShortClientAdjustPosition
- 1.175 ViewFlash
- 1.176 ViewNextBot
- 1.177 ViewShake
- 1.178 WeaponShakeView
- PlayerController instance functions in other games:
- U2, U2XMP, UE2Runtime, UT2003, UT3, UDK
- Other member categories for this class:
- events, exec functions, internal variables, states
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
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
AllowTextToSpeech
AllowVoiceMessage
Overrides: Controller.AllowVoiceMessage
AskForPawn
function AskForPawn ()
AutoJoinVoiceChat
simulated function AutoJoinVoiceChat ()
BecomeActivePlayer
function BecomeActivePlayer ()
BecomeSpectator
function BecomeSpectator ()
BeyondViewDistance
BlendRot
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
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
ClientPlayForceFeedback
simulated function ClientPlayForceFeedback (string EffectName)
ClientPlaySound
simulated function ClientPlaySound (Sound ASound, optional bool bVolumeControl, optional float inAtten, optional Actor.ESoundSlot slot)
ClientReliablePlaySound
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
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
CustomizeAnnouncer
damageAttitudeTo
Overrides: Controller.damageAttitudeTo
DamageShake
function DamageShake (int damage)
Overrides: Controller.DamageShake
DemoClientSetHUD
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
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
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
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
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
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
ServerAdminLogin
function ServerAdminLogin (string CmdLine)
ServerChangeTeam
function ServerChangeTeam (int N)
ServerChangeVoiceChatMode
function ServerChangeVoiceChatMode (bool bEnable)
ServerChatDebug
function ServerChatDebug ()
ServerChatRestriction
ServerDrive
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
ServerSpectate
function ServerSpectate ()
ServerSpectateSpeed
function ServerSpectateSpeed (float F)
ServerSpeech
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
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
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
UpdateRotation
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)