Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel
UE2:Pawn (UT2003)
Contents
- 1 Properties
- 2 Structs
- 3 Functions
- 4 States
- 4.1 Dying
- 4.1.1 Dying.AnimEnd
- 4.1.2 Dying.BaseChange
- 4.1.3 Dying.BeginState
- 4.1.4 Dying.ChangeAnimation
- 4.1.5 Dying.FellOutOfWorld
- 4.1.6 Dying.Landed
- 4.1.7 Dying.StopPlayFiring
- 4.1.8 Dying.TakeDamage
- 4.1.9 Dying.Timer
- 4.1.10 Dying.Died
- 4.1.11 Dying.LandThump
- 4.1.12 Dying.LieStill
- 4.1.13 Dying.PlayFiring
- 4.1.14 Dying.PlayNextAnimation
- 4.1.15 Dying.PlayTakeHit
- 4.1.16 Dying.PlayWeaponSwitch
- 4.1.17 Dying.ReduceCylinder
- 4.1 Dying
- Package:
- Engine
- Direct subclasses:
- KVehicle, RedeemerWarhead, Scout, UnrealPawn, Vehicle
- This class in other games:
- RTNP, U1, UT, UE2Runtime, U2XMP, U2, UT2004, UDK, UT3
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. |
Pawn, the base class of all actors that can be controlled by players or AI.
Pawns are the physical representations of players and creatures in a level. Pawns have a mesh, collision, and physics. Pawns can take damage, make sounds, and hold weapons and other inventory. In short, they are responsible for all physical interaction between the player or AI and the world.
This is a built-in Unreal class and it shouldn't be modified.
Properties[edit]
Property group 'AI'[edit]
AIScriptTag[edit]
Type: name
tag of AIScript which should be associated with this pawn
Alertness[edit]
Type: float
-1 to 1 ->Used within specific states for varying reaction to stimuli
bAdjacentZoneHearing[edit]
Type: bool
can hear any sound in adjacent zone (if close enough to hear)
bAroundCornerHearing[edit]
Type: bool
Hear sounds around one corner (slightly more expensive, and bLOSHearing must also be true)
bDontPossess[edit]
Type: bool
if true, Pawn won't be possessed at game start
bLOSHearing[edit]
Type: bool
Default value: True
bMuffledHearing[edit]
Type: bool
can hear sounds through walls (but muffled - sound distance increased to double plus 4x the distance through walls
bSameZoneHearing[edit]
Type: bool
can hear any sound in same zone (if close enough to hear)
HearingThreshold[edit]
Type: float
max distance at which a makenoise(1.0) loudness sound can be heard
Default value: 2800.0
PeripheralVision[edit]
Type: float
Cosine of limits of peripheral vision.
SightRadius[edit]
Type: float
Maximum seeing distance.
Default value: 5000.0
Property group 'AnimTweaks'[edit]
BlendChangeTime[edit]
Type: float
time to blend between movement animations
Default value: 0.25
Property group 'Pawn'[edit]
bCanCrouch[edit]
Type: bool
if true, this pawn is capable of crouching
DamageDirIntensity[edit]
Type: byte
Array size: 4
FIXME REMOVE WHEN BREAK NET COMPATIBILITY
HitFx[edit]
Type: HitFXData
Array size: 8
SkillModifier[edit]
Type: float
skill modifier (same scale as game difficulty)
Property group 'Shield'[edit]
ShieldStrength[edit]
Type: float
Modifiers: transient
current shielding (having been activated)
Internal variables[edit]
Default values[edit]
Property | Value | ||||||||
---|---|---|---|---|---|---|---|---|---|
bBlockActors | True | ||||||||
bBlockPlayers | True | ||||||||
bCanBeDamaged | True | ||||||||
bCanTeleport | True | ||||||||
bCollideActors | True | ||||||||
bCollideWorld | True | ||||||||
bDirectional | True | ||||||||
bDisturbFluidSurface | True | ||||||||
bNoRepMesh | True | ||||||||
bOwnerNoSee | True | ||||||||
bProjTarget | True | ||||||||
bRotateToDesired | True | ||||||||
bShouldBaseAtStartup | True | ||||||||
bStasis | True | ||||||||
bTravel | True | ||||||||
bUpdateSimulatedPosition | True | ||||||||
CollisionHeight | 78.0 | ||||||||
CollisionRadius | 34.0 | ||||||||
DrawType | DT_Mesh | ||||||||
NetPriority | 2.0 | ||||||||
RemoteRole | ROLE_SimulatedProxy | ||||||||
RotationRate |
|
||||||||
SoundRadius | 60.0 | ||||||||
SoundVolume | 255 | ||||||||
Texture | S_Pawn |
Structs[edit]
HitFXData[edit]
- name Bone
- class<DamageType> damtype
- bool bSever
- Object.Rotator rotDir
Functions[edit]
Exec functions[edit]
NextItem[edit]
SwitchToLastWeapon[edit]
Native functions[edit]
ForceCrouch[edit]
Get4WayDirection[edit]
ReachedDestination[edit]
SetTwistLook[edit]
Events[edit]
See Pawn events.
Other instance functions[edit]
States[edit]
Dying[edit]
Ignores: BreathTimer, Bump, Falling, HeadVolumeChange, HitWall, PhysicsVolumeChange, Trigger
Dying.AnimEnd[edit]
Overrides: AnimEnd (global)
Dying.BaseChange[edit]
Overrides: BaseChange (global)
Dying.BeginState[edit]
Overrides: Object.BeginState (global)
Dying.ChangeAnimation[edit]
Overrides: ChangeAnimation (global)
Dying.FellOutOfWorld[edit]
Overrides: FellOutOfWorld (global)
Dying.Landed[edit]
Overrides: Landed (global)
Dying.StopPlayFiring[edit]
Overrides: StopPlayFiring (global)
Dying.TakeDamage[edit]
Overrides: TakeDamage (global)
Dying.Timer[edit]
Overrides: Actor.Timer (global)
Dying.Died[edit]
Overrides: Died (global)
Dying.LandThump[edit]
Dying.LieStill[edit]
Dying.PlayFiring[edit]
Overrides: PlayFiring (global)
Dying.PlayNextAnimation[edit]
Dying.PlayTakeHit[edit]
Overrides: PlayTakeHit (global)
Dying.PlayWeaponSwitch[edit]
Overrides: PlayWeaponSwitch (global)