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

Difference between revisions of "UE3:GameCrowdForcePoint (UDK)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
 
(Talk)
Line 62: Line 62:
 
'''Overrides:''' {{tl|Touch|Actor|events}}
 
'''Overrides:''' {{tl|Touch|Actor|events}}
  
<!-- enter event description -->
+
Add to touching agent's RelevantAttractors list, even if not enabled
 +
(because might get enabled while still touching agent
  
 
====UnTouch====
 
====UnTouch====

Revision as of 05:24, 17 January 2010

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