M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
SandBox.Missions.AgentBehaviors.FollowAgentBehavior Class Reference

Inherits SandBox.Missions.AgentBehaviors.AgentBehavior.

Public Member Functions

 FollowAgentBehavior (AgentBehaviorGroup behaviorGroup)
 
void SetTargetAgent (Agent agent)
 
override void Tick (float dt, bool isSimulation)
 
override void OnAgentRemoved (Agent agent)
 
override string GetDebugInfo ()
 
override float GetAvailability (bool isSimulation)
 
- Public Member Functions inherited from SandBox.Missions.AgentBehaviors.AgentBehavior
virtual float GetAvailability (bool isSimulation)
 
virtual void Tick (float dt, bool isSimulation)
 
virtual void ConversationTick ()
 
virtual bool CheckStartWithBehavior ()
 
virtual void OnSpecialTargetChanged ()
 
virtual void SetCustomWanderTarget (UsableMachine customUsableMachine)
 
virtual void OnAgentRemoved (Agent agent)
 
abstract string GetDebugInfo ()
 

Protected Member Functions

override void OnActivate ()
 
override void OnDeactivate ()
 
- Protected Member Functions inherited from SandBox.Missions.AgentBehaviors.AgentBehavior
 AgentBehavior (AgentBehaviorGroup behaviorGroup)
 
virtual void OnActivate ()
 
virtual void OnDeactivate ()
 

Additional Inherited Members

- Public Attributes inherited from SandBox.Missions.AgentBehaviors.AgentBehavior
float CheckTime = 15.0f
 
- Protected Attributes inherited from SandBox.Missions.AgentBehaviors.AgentBehavior
readonly AgentBehaviorGroup BehaviorGroup
 
- Properties inherited from SandBox.Missions.AgentBehaviors.AgentBehavior
AgentNavigator Navigator [get]
 
bool IsActive [get, set]
 
Agent OwnerAgent [get]
 
Mission Mission [get]
 

Constructor & Destructor Documentation

◆ FollowAgentBehavior()

SandBox.Missions.AgentBehaviors.FollowAgentBehavior.FollowAgentBehavior ( AgentBehaviorGroup  behaviorGroup)

Member Function Documentation

◆ SetTargetAgent()

void SandBox.Missions.AgentBehaviors.FollowAgentBehavior.SetTargetAgent ( Agent  agent)

◆ Tick()

override void SandBox.Missions.AgentBehaviors.FollowAgentBehavior.Tick ( float  dt,
bool  isSimulation 
)
virtual

◆ OnAgentRemoved()

override void SandBox.Missions.AgentBehaviors.FollowAgentBehavior.OnAgentRemoved ( Agent  agent)
virtual

◆ OnActivate()

override void SandBox.Missions.AgentBehaviors.FollowAgentBehavior.OnActivate ( )
protectedvirtual

◆ OnDeactivate()

override void SandBox.Missions.AgentBehaviors.FollowAgentBehavior.OnDeactivate ( )
protectedvirtual

◆ GetDebugInfo()

override string SandBox.Missions.AgentBehaviors.FollowAgentBehavior.GetDebugInfo ( )
virtual

◆ GetAvailability()

override float SandBox.Missions.AgentBehaviors.FollowAgentBehavior.GetAvailability ( bool  isSimulation)
virtual