Gah - a solution with more questions. – EntropicLqd

UE2:NavigationPoint (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT2003 Object >> Actor >> NavigationPoint
Package: 
Engine
Direct subclasses:
AssaultPath, BlockedPath, Door, LiftCenter, JumpDest, JumpPad, LiftExit, PathNode, ShootSpot, SmallNavigationPoint
This class in other games:
RTNP, U1, UT, U2, U2XMP, UE2Runtime, UT2004, UT3, UDK

NavigationPoint.

NavigationPoints are organized into a network to provide AIControllers the capability of determining paths to arbitrary destinations in a level

Properties

Property group 'NavigationPoint'

bAlwaysUseStrafing

Type: bool

shouldn't use bAdvancedTactics going to this point

bBlocked

Type: bool

this path is currently unuseable

bNeverUseStrafing

Type: bool

shouldn't use bAdvancedTactics going to this point

bOneWayPath

Type: bool

reachspecs from this path only in the direction the path is facing (180 degrees)

bPropagatesSound

Type: bool

this navigation point can be used for sound propagation (around corners)

Default value: True

ExtraCost

Type: int

Extra weight added by level designer

ForcedPaths

Type: name

Array size: 4

list of names of NavigationPoints which should always be connected from this path

ProscribedPaths

Type: name

Array size: 4

list of names of NavigationPoints which should never be connected from this path

Internal variables

bAutoBuilt

Type: bool

Modifiers: const

placed during execution of "PATHS BUILD"

bDestinationOnly

Type: bool

used by path building - means no automatically generated paths are sourced from this node

bEndPoint

Type: bool

Modifiers: transient

used by C++ navigation code

bestPathWeight

Type: int

Modifiers: const


bForceNoStrafing

Type: bool

Modifiers: const

override any LD changes to bNeverUseStrafing

bMustBeReachable

Type: bool

used for PathReview code

bNoAutoConnect

Type: bool

don't connect this path to others except with special conditions (used by LiftCenter, for example)

bNotBased

Type: bool

Modifiers: const

used by path builder - if true, no error reported if node doesn't have a valid base

bPathsChanged

Type: bool

Modifiers: const

used for incremental path rebuilding in the editor

bSourceOnly

Type: bool

used by path building - means this node is not the destination of any automatically generated path

bSpecialForced

Type: bool

paths that are forced should call the SpecialCost() and SuggestMovePreparation() functions

bSpecialMove

Type: bool

if true, pawn will call SuggestMovePreparation() when moving toward this node

bTransientEndPoint

Type: bool

Modifiers: transient

set right before a path finding attempt, cleared afterward.

cost

Type: int

added cost to visit this pathnode

FearCost

Type: int

Modifiers: transient

extra weight diminishing over time (used for example, to mark path where bot died)

InventoryCache

Type: Pickup

used to point to dropped weapons

InventoryDist

Type: float


nextNavigationPoint

Type: NavigationPoint

Modifiers: const


nextOrdered

Type: NavigationPoint

Modifiers: const

for internal use during route searches

PathList

Type: array<ReachSpec>

Modifiers: const

index of reachspecs (used by C++ Navigation code)

previousPath

Type: NavigationPoint

Modifiers: const


prevOrdered

Type: NavigationPoint

Modifiers: const

for internal use during route searches

taken

Type: bool

set when a creature is occupying this spot

TransientCost

Type: int

Modifiers: transient

added right before a path finding attempt, cleared afterward.

visitedWeight

Type: int


Default values

Property Value
bCollideWhenPlacing True
bHidden True
bNoDelete True
bStatic True
CollisionHeight 43.0
CollisionRadius 40.0
SoundVolume 0
Texture S_NavP

Functions

Events

Accept

event bool Accept (Actor Incoming, Actor Source)


DetourWeight

event float DetourWeight (Pawn Other, float PathWeight)


PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


SpecialCost

event int SpecialCost (Pawn Seeker, ReachSpec Path)


SuggestMovePreparation

event bool SuggestMovePreparation (Pawn Other)


Other instance functions

MoverClosed

function MoverClosed ()


MoverOpened

function MoverOpened ()


ProceedWithMove

function bool ProceedWithMove (Pawn Other)