The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:Mover (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Mover
Package: 
Engine
Direct subclass:
ClientMover
Known custom subclasses:
Wormbo/DamageTriggerMover, Crusha/UltimateMappingTools
This class in other games:
RTNP, U1, UT, UT2003, UE2Runtime, U2, U2XMP

The moving brush class. This is a built-in Unreal class and it shouldn't be modified. Note that movers by default have bNoDelete==true. This makes movers and their default properties remain on the client side. If a mover subclass has bNoDelete=false, then its default properties must be replicated

Properties

See Mover properties.

Enums

EBumpType

BT_PlayerBump 
Can only be bumped by player.
BT_PawnBump 
Can be bumped by any pawn
BT_AnyBump 
Can be bumped by any solid actor

EMoverEncroachType

ME_StopWhenEncroach 
Stop when we hit an actor.
ME_ReturnWhenEncroach 
Return to previous position when we hit an actor.
ME_CrushWhenEncroach 
Crush the poor helpless actor.
ME_IgnoreWhenEncroach 
Ignore encroached actors.

EMoverGlideType

MV_MoveByTime 
Move linearly.
MV_GlideByTime 
Move with smooth acceleration.

Functions

Events

BeginPlay

simulated event BeginPlay ()

Overrides: Actor.BeginPlay


Bump

event Bump (Actor Other)

Overrides: Actor.Bump


EncroachingOn

event bool EncroachingOn (Actor Other)

Overrides: Actor.EncroachingOn


KeyFrameReached

simulated event KeyFrameReached ()


PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


SpecialHandling

event Actor SpecialHandling (Pawn Other)

Overrides: Actor.SpecialHandling


TakeDamage

event TakeDamage (int Damage, Pawn instigatedBy, Object.Vector hitlocation, Object.Vector momentum, class<DamageTypedamageType)

Overrides: Actor.TakeDamage


Timer

simulated event Timer ()

Overrides: Actor.Timer


Other instance functions

BaseFinished

function BaseFinished ()


BaseStarted

function BaseStarted ()


DisableTrigger

function DisableTrigger ()


DoClose

function DoClose ()


DoOpen

function DoOpen ()


EnableTrigger

function EnableTrigger ()


FinishedClosing

function FinishedClosing ()


FinishedOpening

function FinishedOpening ()


FinishNotify

function FinishNotify ()


InterpolateTo

simulated final function InterpolateTo (byte NewKeyNum, float Seconds)


MakeGroupReturn

function MakeGroupReturn ()


MakeGroupStop

function MakeGroupStop ()


MoverLooped

function MoverLooped ()


Reset

function Reset ()

Overrides: Actor.Reset


SelfTriggered

function bool SelfTriggered ()

Overrides: Actor.SelfTriggered


SetKeyframe

final function SetKeyframe (byte NewKeyNum, Object.Vector NewLocation, Object.Rotator NewRotation)


SetResetStatus

function SetResetStatus (bool bNewStatus)


SetStoppedPosition

function SetStoppedPosition (byte NewPos)


StartInterpolation

simulated function StartInterpolation ()

Overrides: Actor.StartInterpolation


UpdatePrecacheStaticMeshes

simulated function UpdatePrecacheStaticMeshes ()

Overrides: Actor.UpdatePrecacheStaticMeshes


States

See Mover states.