Cogito, ergo sum
UE3:GameCrowdAgentBehavior (UDK)
Object >> GameCrowdAgentBehavior |
- Package:
- GameFramework
- Direct subclasses:
- GameCrowdBehavior_PlayAnimation, GameCrowdBehavior_RunFromPanic, GameCrowdBehavior_WaitForGroup, GameCrowdBehavior_WaitInQueue
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Properties[edit]
Property group 'GameCrowdAgentBehavior'[edit]
bFaceActionTargetFirst[edit]
Type: bool
If true, must face action target before starting behavior
bIdleBehavior[edit]
Type: bool
If true, agent should idle (not move between destinations)/
bIsViralBehavior[edit]
Type: bool
If true, pass on to agents encountered
MaxPlayerDistance[edit]
Type: float
Agent must be within this distance of the player to perform this behavior
Default value: 10000.0
Internal variables[edit]
ActionTarget[edit]
Type: Actor
actor to aim at during actions
bIsPanicked[edit]
Type: bool
true when agent is currently panicked
MyAgent[edit]
Type: GameCrowdAgent
Agent currently implementing this behavior instance
Functions[edit]
Native functions[edit]
HandleMovement[edit]
Handles movement destination updating for agent.
Returns:
- true if destination updating was handled
ShouldEndIdle[edit]
Called every tick when agent is currently idle (because bIdleBehavior is true)
Returns:
- true if should end idle (bIdleBehavior should also become false)
Tick[edit]
Agent's current behavior gets ticked
Events[edit]
FinishedTargetRotation[edit]
Event when agent is facing action target, called if bFaceActionTarget=true
OnAnimEnd[edit]
Anim end notification called by GameCrowdAgent.OnAnimEnd().
PropagateViralBehaviorTo[edit]
When two agents encounter each other, and one has a viral behavior and the other doesn't, the viral behavior is called to have a chance to propagate itself to the uninfected OtherAgent.
Other instance functions[edit]
ActivatedBy[edit]
Called if agent wants to provide an action target to its behavior.
AllowBehaviorAt[edit]
return true if get kismet or new behavior from this destination
AllowThisDestination[edit]
Return true if agent is allowed to go to destination while performing this behavior
CanBeUsedBy[edit]
This function is called on an archetype - do not modify any properties here!
ChangingDestination[edit]
Notification that MyAgent is changing destinations
GetBehaviorString[edit]
Get debug string about agent behavior
GetDestinationActor[edit]
Returns action agent wants behavior to be moving toward.
InitBehavior[edit]
Called when Agent activates this behavior
StopBehavior[edit]
Called when Agent stops this behavior