UE3:UTVehicle events (UT3)
- UTVehicle events in other games:
- Other member categories for this class:
- instance functions, internal variables, structs, Cicada Content defaults, DarkWalker defaults, DarkWalker Content defaults, Fury internal variables, Fury Content defaults, Goliath defaults, Goliath properties, Goliath Content defaults, HellBender Content defaults, Hoverboard defaults, Hoverboard instance functions, Hoverboard internal variables, Hoverboard properties, Leviathan instance functions, Leviathan internal variables, Leviathan Content defaults, Leviathan Content properties, Manta defaults, Manta properties, Manta Content defaults, Nemesis defaults, Nemesis properties, NightShade defaults, Paladin defaults, Paladin properties, Scavenger internal variables, Scavenger Content defaults, Scorpion defaults, Scorpion internal variables, Scorpion Content defaults, SPMA Content defaults, Viper defaults, Viper properties, Scorpion instance functions, StealthBenderGold Content defaults
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
ApplyMorphHeal
Since vehicles can be healed, we need to apply the healing to each MorphTarget. Since damage modeling is client-side and healing is server-side, we evenly apply healing to all nodes
Parameters:
- Amount - How much health to heal
CheckReset
Vehicle has been in the middle of nowhere with no driver for a while, so consider resetting it
ContinueOnFoot
Overrides: Vehicle.ContinueOnFoot
ContinueOnFoot() - used by AI Called from route finding if route can only be continued on foot.
Returns:
- true if driver left vehicle
Destroyed
Overrides: SVehicle.Destroyed
Called when the vehicle is destroyed. Clean up the seats/effects/etc
DisplayWeaponBar
DriverLeave
Overrides: Vehicle.DriverLeave
Called when the driver leaves the vehicle
Parameters:
- bForceLeave - Is true if the driver was forced out
FellOutOfWorld
Overrides: Pawn.FellOutOfWorld
called when the actor falls out of the world 'safely' (below KillZ and such)
GetBarrelLocationAndRotation
GetHomingTarget
GetHomingTarget is called from projectiles looking to seek to this vehicle. It returns the actor the projectile should target
Parameters:
- Seeker - The projectile that seeking this vehcile
- InstigatedBy - Who is controlling that projectile
Returns:
- the target to see
GetViewRotation
Overrides: Pawn.GetViewRotation
HoldGameObject
Overrides: UTVehicleBase.HoldGameObject
HoldGameObject() Attach GameObject to mesh.
Parameters:
- GameObj - Game object to hold
IncomingMissile
This function is called from an incoming missile that is targetting this vehicle
Parameters:
- P - The incoming projectile
JumpOutCheck
JumpOutCheck() Check if bot wants to jump out of vehicle, which is currently descending towards its destination
LockOnWarning
LockOnWarning() called by seeking missiles to warn vehicle they are incoming
MorphTargetDestroyed
The event is called from the native function ApplyMorphDamage when a node is destroyed (health <= 0).
Parameters:
- MorphNodeIndex - The Index of the node that was destroyed
OnAnimEnd
Overrides: Actor.OnAnimEnd
(Description copied from Actor.OnAnimEnd)
Event called when an AnimNodeSequence (in the animation tree of one of this Actor's SkeletalMeshComponents) reaches the end and stops.
Will not get called if bLooping is 'true' on the AnimNodeSequence.
bCauseActorAnimEnd must be set 'true' on the AnimNodeSequence for this event to get generated.
Parameters:
- SeqNode - Node that finished playing. You can get to the SkeletalMeshComponent by looking at SeqNode->SkelComponent
- PlayedTime - Time played on this animation. (play rate independant).
- ExcessTime - how much time overlapped beyond end of animation. (play rate independant).
OnPropertyChange
PlayTakeHitEffects
plays take hit effects; called from PlayHit() on server and whenever LastTakeHitInfo is received on the client
PostBeginPlay
Overrides: SVehicle.PostBeginPlay
Initialization
PostRenderFor
Overrides: Actor.PostRenderFor
PostRenderFor() Hook to allow pawns to render HUD overlays for themselves. Assumes that appropriate font has already been set
Parameters:
- PC - The Player Controller who is rendering this pawn
- Canvas - The canvas to draw on
RanInto
Overrides: Actor.RanInto
RanInto() called for encroaching actors which successfully moved the other actor out of the way
Parameters:
- Other - The pawn that was hit
RBPenetrationDestroy
Called when a contact with a large penetration occurs.
ReceivedHealthChange
called when the client receives a change to Health if LastTakeHitInfo changed in the same received bunch, always called *after* PlayTakeHitEffects() (this is so we can use the damage info first for more accurate modelling and only use the direct health change for corrections)
ReplicatedEvent
Overrides: Vehicle.ReplicatedEvent
This event is triggered when a repnotify variable is received
Parameters:
- VarName - The name of the variable replicated
RigidBodyCollision
Overrides: SVehicle.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
SelfDestruct
SetKeyVehicle
SetTeamNum
Team is changed when vehicle is possessed
TakeDamage
Overrides: Vehicle.TakeDamage
See: Actor.TakeDamage()
TakeFireDamage
This event occurs when the physics determines the vehicle is upside down or empty and on fire. Called from AUTVehicle::TickSpecial()
TakeWaterDamage
TakeWaterDamage() called every tick when AccumulatedWaterDamage>0 and PhysicsVolume.bWaterVolume=true
Parameters:
- DeltaTime - The amount of time passed since it was last called
TornOff
Overrides: Pawn.TornOff
This event is called when the pawn is torn off