The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE1:PlayerPawn (U1)

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

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


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.16

ngWorldSecret[edit]

Type: string

Modifiers: globalconfig


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
DesiredSpeed 0.3
NetPriority 8.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


GetEntryLevel[edit]

native final function LevelInfo GetEntryLevel ()


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]

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)


RenderOverlays[edit]

simulated event RenderOverlays (Canvas Canvas)

Overrides: Pawn.RenderOverlays


TeamMessage[edit]

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

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.