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

UE3:GameCrowdForcePoint (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 05:24, 17 January 2010 by (Talk)

Jump to: navigation, search
UDK Object >> Actor >> GameCrowdInteractionPoint >> GameCrowdForcePoint
Package: 
GameFramework
Direct subclasses:
GameCrowdAttractor, GameCrowdRepulsor

Used for attracting agents to an area. If too strong, agents won't continue to destination

Default values

Property Value
bCollideActors True

Subobjects

CollisionCylinder

Class: Engine.CylinderComponent

Inherits from: GameCrowdInteractionPoint.CollisionCylinder

Property Value
CollideActors True
ReplacementPrimitive None

Sprite

Class: Engine.SpriteComponent

Inherits from: GameCrowdInteractionPoint.Sprite

Property Value
ReplacementPrimitive None
Sprite Texture2D'EditorResources.Crowd.T_Crowd_Attractor'

Events

AppliedForce

event Object.Vector AppliedForce (GameCrowdAgent Agent)

Returns force applied to Agent by this force point.

Touch

event Touch (Actor Other, PrimitiveComponent OtherComp, Object.Vector HitLocation, Object.Vector HitNormal)

Overrides: Actor.Touch

Add to touching agent's RelevantAttractors list, even if not enabled (because might get enabled while still touching agent

UnTouch

event UnTouch (Actor Other)

Overrides: Actor.UnTouch

Remove from touching agent's RelevantAttractors list