UE2:Actor events (UT2004): Difference between revisions

From Unreal Wiki, The Unreal Engine Documentation Site
Auto-generated page
 
 
(42 intermediate revisions by the same user not shown)
Line 10: Line 10:


<!-- enter event description -->
<!-- enter event description -->
This event gets called when the animation playing on ''Channel'' has ended.


====Attach====
====Attach====
Line 20: Line 21:


<!-- enter event description -->
<!-- enter event description -->
This is called when the base of this actor changes.


====BeginEvent====
====BeginEvent====
Line 30: Line 32:


<!-- enter event description -->
<!-- enter event description -->
This event is called when a game-play starts.


====BroadcastLocalizedMessage====
====BroadcastLocalizedMessage====
Line 35: Line 38:


<!-- enter event description -->
<!-- enter event description -->
This event broadcasts a localized message to all players.


====Bump====
====Bump====
Line 40: Line 44:


<!-- enter event description -->
<!-- enter event description -->
This event is called when another actor bumps this one and is blocked.


====ClientTrigger====
====ClientTrigger====
Line 50: Line 55:


<!-- enter event description -->
<!-- enter event description -->
This event gets called after the successful destruction of an actor.


====Detach====
====Detach====
Line 60: Line 66:


<!-- enter event description -->
<!-- enter event description -->
Called when ''Other'' is taking this actor's space.


====EncroachingOn====
====EncroachingOn====
Line 65: Line 72:


<!-- enter event description -->
<!-- enter event description -->
This event is called when this actor is trying to take the same space of ''Other''.


====EndedRotation====
====EndedRotation====
Line 70: Line 78:


<!-- enter event description -->
<!-- enter event description -->
This is called when '''Rotation''' as reached '''DesiredRotation'''. (?)


====EndEvent====
====EndEvent====
Line 80: Line 89:


<!-- enter event description -->
<!-- enter event description -->
This event is called when the actor begins to fall (probably only with pawns).


====FellOutOfWorld====
====FellOutOfWorld====
Line 85: Line 95:


<!-- enter event description -->
<!-- enter event description -->
This event is called when the actor gets out of the world. This can happen in Subtractive levels, where the outside of the world (called zone 0) is the space that wasn't subtracted.


====FinishedInterpolation====
====FinishedInterpolation====
Line 95: Line 106:


<!-- enter event description -->
<!-- enter event description -->
This event is called when this actor becomes the owner of ''Other''.


====HitWall====
====HitWall====
Line 100: Line 112:


<!-- enter event description -->
<!-- enter event description -->
This event is called when the actor hits a wall.


====KApplyForce====
====KApplyForce====
Line 135: Line 148:


<!-- enter event description -->
<!-- enter event description -->
This event is called when the actor hits the ground.
(The difference between a wall and the floor is given by an angle(unknown angle value))


====LIPSincAnimEnd====
====LIPSincAnimEnd====
Line 145: Line 160:


<!-- enter event description -->
<!-- enter event description -->
This event is called when this actor is no longer the owner of ''Other''.


====PhysicsVolumeChange====
====PhysicsVolumeChange====
Line 150: Line 166:


<!-- enter event description -->
<!-- enter event description -->
This event is called when the actor is changing to a new [[UE2:PhysicsVolume (UT2004)]].


====PostBeginPlay====
====PostBeginPlay====
Line 155: Line 172:


<!-- enter event description -->
<!-- enter event description -->
This event is called after game-play begins and before replication.


====PostLoadSavedGame====
====PostLoadSavedGame====
Line 175: Line 193:


<!-- enter event description -->
<!-- enter event description -->
This event is called after the actor has been teleported into ''OutTeleporter''.


====PostTouch====
====PostTouch====
Line 180: Line 199:


<!-- enter event description -->
<!-- enter event description -->
This event gets called after two actors touch each other and after physics are done.


====PreBeginPlay====
====PreBeginPlay====
Line 185: Line 205:


<!-- enter event description -->
<!-- enter event description -->
This event is called before game-play starts.


====PreSaveGame====
====PreSaveGame====
Line 195: Line 216:


<!-- enter event description -->
<!-- enter event description -->
This is called before the teleporter ''InTeleporter'' teleports this actor. Return false to allow this actor to be teleported, and true to prevent it from being teleported.


====RanInto====
====RanInto====
Line 210: Line 232:


<!-- enter event description -->
<!-- enter event description -->
This event is called when ''Tex'' has this actor set as '''NotifyActor'' and needs to be rendered.


====SetInitialState====
====SetInitialState====
Line 215: Line 238:


<!-- enter event description -->
<!-- enter event description -->
This event is called after '''PostBeginPlay''' to set the initial state of the actor.


====SpecialHandling====
====SpecialHandling====
Line 230: Line 254:


<!-- enter event description -->
<!-- enter event description -->
This event is called every cycle of the game's main loop. ''DeltaTime'' represents how much time has passed (in seconds) since the last cycle (since the last time ''Tick'' was called).


====Timer====
====Timer====
Line 235: Line 260:


<!-- enter event description -->
<!-- enter event description -->
This event gets called when '''SetTimer (float NewTimerRate, bool bLoop)''' is used. If ''bLoop'' is set to true, then this event will be called every x seconds (NewTimerRate), otherwise it only gets called once and after x seconds (NewTimerRate) have passed since the call to ''SetTimer''. To stop the timer, one has to call '''SetTimer (0, false)'''.


====TornOff====
====TornOff====
Line 245: Line 271:


<!-- enter event description -->
<!-- enter event description -->
This event is called when another actor touches this one.


====TravelPostAccept====
====TravelPostAccept====
Line 270: Line 297:


<!-- enter event description -->
<!-- enter event description -->
This is called when ''Other'' stops touching this actor.


====UnTrigger====
====UnTrigger====
Line 280: Line 308:


<!-- enter event description -->
<!-- enter event description -->
This event gets called when a ''Player'' or ''Bot'' presses the '''Use''' key on this actor.


====ZoneChange====
====ZoneChange====
Line 285: Line 314:


<!-- enter event description -->
<!-- enter event description -->
This event is called when the actor is changing to a new zone.

Latest revision as of 04:49, 4 July 2012

UT2004 Object >> Actor (events)
Actor events in other games:
Other member categories for this class:

Events

AnimEnd

event AnimEnd (int Channel)

This event gets called when the animation playing on Channel has ended.

Attach

event Attach (Actor Other)


BaseChange

event BaseChange ()

This is called when the base of this actor changes.

BeginEvent

event BeginEvent ()


BeginPlay

event BeginPlay ()

This event is called when a game-play starts.

BroadcastLocalizedMessage

event BroadcastLocalizedMessage (class<LocalMessageMessageClass, optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject)

This event broadcasts a localized message to all players.

Bump

event Bump (Actor Other)

This event is called when another actor bumps this one and is blocked.

ClientTrigger

event ClientTrigger ()


Destroyed

event Destroyed ()

This event gets called after the successful destruction of an actor.

Detach

event Detach (Actor Other)


EncroachedBy

event EncroachedBy (Actor Other)

Called when Other is taking this actor's space.

EncroachingOn

event bool EncroachingOn (Actor Other)

This event is called when this actor is trying to take the same space of Other.

EndedRotation

event EndedRotation ()

This is called when Rotation as reached DesiredRotation. (?)

EndEvent

event EndEvent ()


Falling

event Falling ()

This event is called when the actor begins to fall (probably only with pawns).

FellOutOfWorld

simulated event FellOutOfWorld (eKillZType KillType)

This event is called when the actor gets out of the world. This can happen in Subtractive levels, where the outside of the world (called zone 0) is the space that wasn't subtracted.

FinishedInterpolation

event FinishedInterpolation ()


GainedChild

event GainedChild (Actor Other)

This event is called when this actor becomes the owner of Other.

HitWall

event HitWall (Object.Vector HitNormal, Actor HitWall)

This event is called when the actor hits a wall.

KApplyForce

event KApplyForce (out Object.Vector Force, out Object.Vector Torque)


KilledBy

event KilledBy (Pawn EventInstigator)


KImpact

event KImpact (Actor other, Object.Vector pos, Object.Vector impactVel, Object.Vector impactNorm)


KSkelConvulse

event KSkelConvulse ()


KUpdateState

event bool KUpdateState (out KRigidBodyState newState)


KVelDropBelow

event KVelDropBelow ()


Landed

event Landed (Object.Vector HitNormal)

This event is called when the actor hits the ground. (The difference between a wall and the floor is given by an angle(unknown angle value))

LIPSincAnimEnd

event LIPSincAnimEnd ()


LostChild

event LostChild (Actor Other)

This event is called when this actor is no longer the owner of Other.

PhysicsVolumeChange

event PhysicsVolumeChange (PhysicsVolume NewVolume)

This event is called when the actor is changing to a new UE2:PhysicsVolume (UT2004).

PostBeginPlay

event PostBeginPlay ()

This event is called after game-play begins and before replication.

PostLoadSavedGame

event PostLoadSavedGame ()


PostNetBeginPlay

event PostNetBeginPlay ()


PostNetReceive

event PostNetReceive ()


PostTeleport

event PostTeleport (Teleporter OutTeleporter)

This event is called after the actor has been teleported into OutTeleporter.

PostTouch

event PostTouch (Actor Other)

This event gets called after two actors touch each other and after physics are done.

PreBeginPlay

event PreBeginPlay ()

This event is called before game-play starts.

PreSaveGame

event PreSaveGame ()


PreTeleport

event bool PreTeleport (Teleporter InTeleporter)

This is called before the teleporter InTeleporter teleports this actor. Return false to allow this actor to be teleported, and true to prevent it from being teleported.

RanInto

event RanInto (Actor Other)


RecoverFromBadStateCode

event RecoverFromBadStateCode ()


RenderTexture

event RenderTexture (ScriptedTexture Tex)

This event is called when Tex has this actor set as 'NotifyActor and needs to be rendered.

SetInitialState

simulated event SetInitialState ()

This event is called after PostBeginPlay to set the initial state of the actor.

SpecialHandling

event Actor SpecialHandling (Pawn Other)


TakeDamage

event TakeDamage (int Damage, Pawn EventInstigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)


Tick

event Tick (float DeltaTime)

This event is called every cycle of the game's main loop. DeltaTime represents how much time has passed (in seconds) since the last cycle (since the last time Tick was called).

Timer

event Timer ()

This event gets called when SetTimer (float NewTimerRate, bool bLoop) is used. If bLoop is set to true, then this event will be called every x seconds (NewTimerRate), otherwise it only gets called once and after x seconds (NewTimerRate) have passed since the call to SetTimer. To stop the timer, one has to call SetTimer (0, false).

TornOff

event TornOff ()


Touch

event Touch (Actor Other)

This event is called when another actor touches this one.

TravelPostAccept

event TravelPostAccept ()


TravelPreAccept

event TravelPreAccept ()


Trigger

event Trigger (Actor Other, Pawn EventInstigator)


TriggerEvent

simulated event TriggerEvent (name EventName, Actor Other, Pawn EventInstigator)


UnTouch

event UnTouch (Actor Other)

This is called when Other stops touching this actor.

UnTrigger

event UnTrigger (Actor Other, Pawn EventInstigator)


UsedBy

event UsedBy (Pawn user)

This event gets called when a Player or Bot presses the Use key on this actor.

ZoneChange

event ZoneChange (ZoneInfo NewZone)

This event is called when the actor is changing to a new zone.