Cogito, ergo sum

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

Property group 'Movement'

Bob

Type: float

Modifiers: globalconfig


Default value: 0.016

DodgeClickTime

Type: float

Modifiers: globalconfig


Default value: 0.25

Property group 'Pawn'

CarcassType

Type: class<Carcass>


Property group 'PlayerPawn'

bAlwaysMouseLook

Type: bool

Modifiers: globalconfig


Default value: True

bLookUpStairs

Type: bool

Modifiers: globalconfig

look up/down stairs (player)

bMaxMouseSmoothing

Type: bool

Modifiers: globalconfig


bSinglePlayer

Type: bool

this class allowed in single player

bSnapToLevel

Type: bool

Modifiers: globalconfig

Snap to level eyeheight when not mouselooking

MouseSmoothThreshold

Type: float

Modifiers: globalconfig


Default value: 0.16

ngWorldSecret

Type: string

Modifiers: globalconfig


Property group 'Sounds'

JumpSound

Type: Sound


Internal variables

See PlayerPawn internal variables.

Default values

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

Functions

Exec functions

See PlayerPawn exec functions.

Native functions

ClientTravel

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


ConsoleCommand

native function string ConsoleCommand (string Command)

Overrides: Actor.ConsoleCommand


GetEntryLevel

native final function LevelInfo GetEntryLevel ()


ResetKeyboard

native(544) final function ResetKeyboard ()


UpdateURL

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


Events

ClientMessage

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

Overrides: Pawn.ClientMessage


Destroyed

event Destroyed ()

Overrides: Pawn.Destroyed


Falling

event Falling ()

Overrides: Pawn.Falling


KilledBy

event KilledBy (Pawn EventInstigator)

Overrides: Actor.KilledBy


Landed

event Landed (Object.Vector HitNormal)

Overrides: Pawn.Landed


PlayerCalcView

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


PlayerInput

event PlayerInput (float DeltaTime)


PlayerTick

event PlayerTick (float Time)


PlayerTimeOut

event PlayerTimeOut ()

Overrides: Pawn.PlayerTimeOut


Possess

event Possess ()


PostBeginPlay

event PostBeginPlay ()

Overrides: Pawn.PostBeginPlay


PostRender

event PostRender (Canvas Canvas)


PreBeginPlay

event PreBeginPlay ()

Overrides: Pawn.PreBeginPlay


PreClientTravel

event PreClientTravel ()


PreRender

event PreRender (Canvas Canvas)


RenderOverlays

simulated event RenderOverlays (Canvas Canvas)

Overrides: Pawn.RenderOverlays


TeamMessage

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

Overrides: Pawn.TeamMessage


TravelPostAccept

event TravelPostAccept ()

Overrides: Actor.TravelPostAccept


UnPossess

event UnPossess ()


UpdateEyeHeight

event UpdateEyeHeight (float DeltaTime)

Overrides: Pawn.UpdateEyeHeight


Other instance functions

See PlayerPawn instance functions.

States

See PlayerPawn states.