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

Inherits SandBox.Missions.AgentBehaviors.AgentBehavior.

Public Member Functions

 WalkingBehavior (AgentBehaviorGroup behaviorGroup)
 
void SetIndoorWandering (bool isActive)
 
void SetOutdoorWandering (bool isActive)
 
override void Tick (float dt, bool isSimulation)
 
override void ConversationTick ()
 
override float GetAvailability (bool isSimulation)
 
override void SetCustomWanderTarget (UsableMachine customUsableMachine)
 
override void OnSpecialTargetChanged ()
 
override string GetDebugInfo ()
 
- 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 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

◆ WalkingBehavior()

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

Member Function Documentation

◆ SetIndoorWandering()

void SandBox.Missions.AgentBehaviors.WalkingBehavior.SetIndoorWandering ( bool  isActive)

◆ SetOutdoorWandering()

void SandBox.Missions.AgentBehaviors.WalkingBehavior.SetOutdoorWandering ( bool  isActive)

◆ Tick()

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

◆ ConversationTick()

override void SandBox.Missions.AgentBehaviors.WalkingBehavior.ConversationTick ( )
virtual

◆ GetAvailability()

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

◆ SetCustomWanderTarget()

override void SandBox.Missions.AgentBehaviors.WalkingBehavior.SetCustomWanderTarget ( UsableMachine  customUsableMachine)
virtual

◆ OnSpecialTargetChanged()

override void SandBox.Missions.AgentBehaviors.WalkingBehavior.OnSpecialTargetChanged ( )
virtual

◆ GetDebugInfo()

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

◆ OnDeactivate()

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