There is no spoon

UE2:LiftExit (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2004 Object >> Actor >> NavigationPoint >> LiftExit

Contents

Package: 
Engine
This class in other games:
RTNP, U1, U2, U2XMP, UDK, UE2Runtime, UT, UT2003, UT3

A marker for locations where bots can enter or leave lift Movers. The place on the mover where the bot should stand while using the lift is marked by a LiftCenter with the same LiftTag.

[edit] Properties

[edit] Property group 'LiftExit'

[edit] LiftTag

Type: name

Match the Tag of the lift Mover with this property to specify which lift this exit belongs to. Each lift should have a unique Tag, that is used for the Mover, the LiftCenter and all LiftExits.

[edit] SuggestedKeyFrame

Type: byte

Mover keyframe associated with this exit. The default value 255 lets the engine decide the best keyframe at path build time. (Not applicable for lift jump exits.)

Default value: 255

[edit] Property group 'LiftJump'

[edit] bLiftJumpExit

Type: bool

Bots should perform a lift jump to reach this exit.

[edit] bNoDoubleJump

Type: bool

Set this to True to indicate a simple lift jump without double jump is enough to reach the exit.

[edit] Internal variables

[edit] KeyFrame

Type: byte

The Mover key frame this exit is connected to. (Set by the editor when building paths. Not applicable for lift jump exits.)

[edit] MyLift

Type: Mover

The lift Mover. (Set by the editor when building paths.)

[edit] Default values

Property Value
bForceNoStrafing True
bNeverUseStrafing True
bSpecialMove True
Texture S_LiftExit

[edit] Functions

[edit] Events

[edit] PostBeginPlay

event PostBeginPlay ()

Overrides: NavigationPoint.PostBeginPlay

Marks the lift mover as bJumpLift. Sets extremely high ExtraCost if the game difficulty is below Adept so bots don't use lift jump exits.

[edit] SuggestMovePreparation

event bool SuggestMovePreparation (Pawn Other)

Overrides: NavigationPoint.SuggestMovePreparation

Tells the bot, how to move to this lift exit. Potentially tells the bot to wait for the lift mover or a good moment to perform a lift jump.

[edit] Other instance functions

[edit] CanBeReachedFromLiftBy

function bool CanBeReachedFromLiftBy (Pawn Other)

Returns whether the bot can currently reach this exit. Also tells it how to perform a lift jump if this is a lift jump exit.