There is no spoon

UE1:PlayerPawn (UT)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT Object >> Actor >> Pawn >> PlayerPawn
Package: 
Engine
Direct subclasses:
Camera, Spectator, TournamentPlayer, UnrealIPlayer
This class in other games:
RTNP, U1

PlayerPawn. player controlled pawns Note that Pawns which implement functions for the PlayerTick messages must handle player control in these functions

Properties[edit]

Property group 'Movement'[edit]

Bob[edit]

Type: float

Modifiers: globalconfig


Default value: 0.016

DodgeClickTime[edit]

Type: float

Modifiers: globalconfig


Default value: 0.25

Property group 'Pawn'[edit]

CarcassType[edit]

Type: class<Carcass>


Property group 'PlayerPawn'[edit]

bAlwaysMouseLook[edit]

Type: bool

Modifiers: globalconfig


Default value: True

bLookUpStairs[edit]

Type: bool

Modifiers: globalconfig

look up/down stairs (player)

bMaxMouseSmoothing[edit]

Type: bool

Modifiers: globalconfig


Default value: True

bSinglePlayer[edit]

Type: bool

this class allowed in single player

bSnapToLevel[edit]

Type: bool

Modifiers: globalconfig

Snap to level eyeheight when not mouselooking

MouseSmoothThreshold[edit]

Type: float

Modifiers: globalconfig


Default value: 0.07

ngSecretSet[edit]

Type: bool

Modifiers: globalconfig


Default value: True

ngWorldSecret[edit]

Type: string

Modifiers: globalconfig, private


Default value: "atwormizer"

Property group 'Sounds'[edit]

JumpSound[edit]

Type: Sound


Internal variables[edit]

See PlayerPawn internal variables.

Default values[edit]

Property Value
bCanJump True
bIsPlayer True
bStasis False
bTravel True
bViewTarget True
DesiredSpeed 0.3
NetPriority 3.0
SightRadius 4100.0

Functions[edit]

Exec functions[edit]

See PlayerPawn exec functions.

Native functions[edit]

ClientTravel[edit]

native event ClientTravel (string URL, Actor.ETravelType TravelType, bool bItems)


ConsoleCommand[edit]

native function string ConsoleCommand (string Command)

Overrides: Actor.ConsoleCommand


CopyToClipboard[edit]

native function CopyToClipboard (string Text)


GetDefaultURL[edit]

native final function string GetDefaultURL (string Option)


GetEntryLevel[edit]

native final function LevelInfo GetEntryLevel ()


GetPlayerNetworkAddress[edit]

native final function string GetPlayerNetworkAddress ()


PasteFromClipboard[edit]

native function string PasteFromClipboard ()


ResetKeyboard[edit]

native(544) final function ResetKeyboard ()


UpdateURL[edit]

native(546) final function UpdateURL (string NewOption, string NewValue, bool bSaveDefault)


Events[edit]

ClientMessage[edit]

event ClientMessage (coerce string S, optional name Type, optional bool bBeep)

Overrides: Pawn.ClientMessage


Destroyed[edit]

simulated event Destroyed ()

Overrides: Pawn.Destroyed


Falling[edit]

event Falling ()

Overrides: Pawn.Falling


KilledBy[edit]

event KilledBy (Pawn EventInstigator)

Overrides: Actor.KilledBy


Landed[edit]

event Landed (Object.Vector HitNormal)

Overrides: Pawn.Landed


PlayerCalcView[edit]

event PlayerCalcView (out Actor ViewActor, out Object.Vector CameraLocation, out Object.Rotator CameraRotation)


PlayerInput[edit]

event PlayerInput (float DeltaTime)


PlayerTick[edit]

event PlayerTick (float Time)


PlayerTimeOut[edit]

event PlayerTimeOut ()

Overrides: Pawn.PlayerTimeOut


Possess[edit]

event Possess ()


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Pawn.PostBeginPlay


PostRender[edit]

event PostRender (Canvas Canvas)


PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: Pawn.PreBeginPlay


PreClientTravel[edit]

event PreClientTravel ()


PreRender[edit]

event PreRender (Canvas Canvas)


ReceiveLocalizedMessage[edit]

event ReceiveLocalizedMessage (class<LocalMessageMessage, optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject)

Overrides: Pawn.ReceiveLocalizedMessage


RenderOverlays[edit]

simulated event RenderOverlays (Canvas Canvas)

Overrides: Pawn.RenderOverlays


TeamMessage[edit]

event TeamMessage (PlayerReplicationInfo PRI, coerce string S, name Type, optional bool bBeep)

Overrides: Pawn.TeamMessage


TravelPostAccept[edit]

event TravelPostAccept ()

Overrides: Actor.TravelPostAccept


UnPossess[edit]

event UnPossess ()


UpdateEyeHeight[edit]

event UpdateEyeHeight (float DeltaTime)

Overrides: Pawn.UpdateEyeHeight


Other instance functions[edit]

See PlayerPawn instance functions.

States[edit]

See PlayerPawn states.