I love the smell of UnrealEd crashing in the morning. – tarquin

UE3:GameCrowdDestinationQueuePoint (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> Actor >> GameCrowdInteractionPoint >> GameCrowdDestinationQueuePoint
Package: 
GameFramework

Where crowd agent is going. Destinations can kill agents that reach them or route them to another destination

Properties[edit]

Property group 'GameCrowdDestinationQueuePoint'[edit]

AverageReactionTime[edit]

Type: float

Average pause time before agent reacts to queue movement

Default value: 0.7

NextQueuePosition[edit]

Type: GameCrowdDestinationQueuePoint

Position behind this one in line

Internal variables[edit]

bClearingQueue[edit]

Type: bool

Prevent ClearQueue() reentry

bPendingAdvance[edit]

Type: bool

True if queued agent is still at this position, but about to advance

PreviousQueuePosition[edit]

Type: GameCrowdInteractionPoint

Position before this one in line

QueueBehaviorClass[edit]

Type: class<GameCrowdBehavior_WaitInQueue>

Queue behavior used by this queue point

Default value: Class'GameFramework.GameCrowdBehavior_WaitInQueue'

QueuedAgent[edit]

Type: GameCrowdAgent

Agent currently occupying this queue position

QueueDestination[edit]

Type: GameCrowdDestination

Modifiers: transient

Which destination this queue is part of the line for. Used only for queue validation during error checking.

Subobjects[edit]

CollisionCylinder[edit]

Class: Engine.CylinderComponent

Inherits from: GameCrowdInteractionPoint.CollisionCylinder

Property Value
CollisionRadius 100.0
ReplacementPrimitive None

Sprite[edit]

Class: Engine.SpriteComponent

Inherits from: GameCrowdInteractionPoint.Sprite

Property Value
ReplacementPrimitive None

Functions[edit]

Native functions[edit]

QueueReachedBy[edit]

native function bool QueueReachedBy (GameCrowdAgent Agent, Object.Vector TestPosition)

Returns true if agent at TestPosition is considered to have reached this queue point

Events[edit]

ReachedDestination[edit]

event ReachedDestination (GameCrowdAgent Agent)

Called after Agent reaches this queue position

Parameters:

  • Agent - is the crowd agent that just reached this queue position

Other instance functions[edit]

ActuallyAdvance[edit]

private function ActuallyAdvance ()

Actually advance the customer now

AddCustomer[edit]

function AddCustomer (GameCrowdAgent NewCustomer, GameCrowdInteractionPoint PreviousPosition)

Add customer to queue

AdvanceCustomerTo[edit]

function AdvanceCustomerTo (GameCrowdInteractionPoint FrontPosition)

Advance customer to next position in line, with a reaction time delay

ClearQueue[edit]

function ClearQueue (GameCrowdAgent OldCustomer)

Clear OldCustomer from this queue position

Advance any customers in line

HasCustomer[edit]

function bool HasCustomer ()


HasSpace[edit]

function bool HasSpace ()

Returns true if this queue has space