I love the smell of UnrealEd crashing in the morning. – tarquin
UE3:UTPawn events (UT3)
Contents
- 1 Events
- 1.1 BecomeViewTarget
- 1.2 ClearXRayEffect
- 1.3 Destroyed
- 1.4 EncroachedBy
- 1.5 EncroachingOn
- 1.6 EndCrouch
- 1.7 EndViewTarget
- 1.8 Falling
- 1.9 FellOutOfWorld
- 1.10 GetPawnViewLocation
- 1.11 GetViewRotation
- 1.12 HeadVolumeChange
- 1.13 HoldGameObject
- 1.14 IsHero
- 1.15 Landed
- 1.16 OnRanOver
- 1.17 PlayFootStepSound
- 1.18 PlayJumpingSound
- 1.19 PlayLandingSound
- 1.20 PostBeginPlay
- 1.21 PostInitAnimTree
- 1.22 PostRenderFor
- 1.23 ReplicatedEvent
- 1.24 RigidBodyCollision
- 1.25 SetHeadScale
- 1.26 SetWalking
- 1.27 StartCrouch
- 1.28 StartDriving
- 1.29 StartFeignDeathRecoveryAnim
- 1.30 StopDriving
- 1.31 StoppedFalling
- 1.32 StuckFalling
- 1.33 StuckOnPawn
- 1.34 TakeDamage
- 1.35 TakeHitBlendedOut
- 1.36 TornOff
- 1.37 UpdateEyeHeight
- UTPawn events in other games:
- UDK
- Other member categories for this class:
- defaults, instance functions, internal variables
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. |
Events[edit]
BecomeViewTarget[edit]
Overrides: Pawn.BecomeViewTarget
ClearXRayEffect[edit]
Destroyed[edit]
Overrides: Pawn.Destroyed
EncroachedBy[edit]
Overrides: Pawn.EncroachedBy
EncroachingOn[edit]
Overrides: Pawn.EncroachingOn
(Description copied from Actor.EncroachingOn)
called when this Actor is encroaching on Other and we couldn't find an appropriate place to push Other to
Returns:
- true to abort the move, false to allow it
Warning: do not abort moves of PHYS_RigidBody actors as that will cause the Unreal location and physics engine location to mismatch
EndCrouch[edit]
Overrides: Pawn.EndCrouch
Event called from native code when Pawn stops crouching. Called on non owned Pawns through bIsCrouched replication. Network: ALL
Parameters:
- HeightAdjust - height difference in unreal units between default collision height, and actual crouched cylinder height.
EndViewTarget[edit]
Overrides: Actor.EndViewTarget
Falling[edit]
Overrides: Pawn.Falling
FellOutOfWorld[edit]
Overrides: Pawn.FellOutOfWorld
called when the actor falls out of the world 'safely' (below KillZ and such)
GetPawnViewLocation[edit]
Overrides: Pawn.GetPawnViewLocation
(Description copied from Pawn.GetPawnViewLocation)
returns the Eye location of the Pawn.
Returns:
- Pawn's eye location
GetViewRotation[edit]
Overrides: Pawn.GetViewRotation
HeadVolumeChange[edit]
Overrides: Pawn.HeadVolumeChange
HoldGameObject[edit]
HoldGameObject() Attach GameObject to mesh.
Parameters:
- GameObj - Game object to hold
IsHero[edit]
Landed[edit]
Overrides: Pawn.Landed
OnRanOver[edit]
Overrides: Actor.OnRanOver
Called when an SVehicle wheel physically contacts this Pawn. We kill it!
PlayFootStepSound[edit]
Overrides: Pawn.PlayFootStepSound
PlayJumpingSound[edit]
PlayLandingSound[edit]
PostBeginPlay[edit]
Overrides: Pawn.PostBeginPlay
PostInitAnimTree[edit]
Overrides: Actor.PostInitAnimTree
called after initializing the AnimTree for the given SkeletalMeshComponent that has this Actor as its Owner this is a good place to cache references to skeletal controllers, etc that the Actor modifies
PostRenderFor[edit]
Overrides: Actor.PostRenderFor
PostRenderFor() Hook to allow pawns to render HUD overlays for themselves. Called only if pawn was rendered this tick. Assumes that appropriate font has already been set
Todo: FIXMESTEVE - special beacon when speaking (SpeakingBeaconTexture)
ReplicatedEvent[edit]
Overrides: Pawn.ReplicatedEvent
Check on various replicated data and act accordingly.
RigidBodyCollision[edit]
Overrides: Actor.RigidBodyCollision
(Description copied from Actor.RigidBodyCollision)
Called when a PrimitiveComponent this Actor owns has:
-bNotifyRigidBodyCollision set to true -ScriptRigidBodyCollisionThreshold > 0 -it is involved in a physics collision where the relative velocity exceeds ScriptRigidBodyCollisionThreshold
Parameters:
- HitComponent - the component of this Actor that collided
- OtherComponent - the other component that collided
- RigidCollisionData - information on the collision itslef, including contact points
- ContactIndex - the element in each ContactInfos' ContactVelocity and PhysMaterial arrays that corresponds to this Actor/HitComponent
SetHeadScale[edit]
SetWalking[edit]
Overrides: Pawn.SetWalking
UTPawns not allowed to set bIsWalking true
StartCrouch[edit]
Overrides: Pawn.StartCrouch
Event called from native code when Pawn starts crouching. Called on non owned Pawns through bIsCrouched replication. Network: ALL
Parameters:
- HeightAdjust - height difference in unreal units between default collision height, and actual crouched cylinder height.
StartDriving[edit]
Overrides: Pawn.StartDriving
StartDriving() and StopDriving() also called on clients on transitions of DrivenVehicle variable. Network: ALL
StartFeignDeathRecoveryAnim[edit]
called when bPlayingFeignDeathRecovery and interpolating our Mesh's PhysicsWeight to 0 has completed starts the recovery anim playing
StopDriving[edit]
Overrides: Pawn.StopDriving
StartDriving() and StopDriving() also called on clients on transitions of DrivenVehicle variable. Network: ALL
StoppedFalling[edit]
StuckFalling[edit]
called when we have been stuck falling for a long time with zero velocity and couldn't find a place to move to get out of it
StuckOnPawn[edit]
Overrides: Pawn.StuckOnPawn
Called when pawn cylinder embedded in another pawn. (Collision bug that needs to be fixed).
TakeDamage[edit]
Overrides: Pawn.TakeDamage
We override TakeDamage and allow the weapon to modify it
See: Pawn.TakeDamage
TakeHitBlendedOut[edit]
called when bBlendOutTakeHitPhysics is true and our Mesh's PhysicsWeight has reached 0.0
TornOff[edit]
Overrides: Pawn.TornOff