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

Inherits TaleWorlds.MountAndBlade.UsableMachineAIBase.

Public Member Functions

 PassageAI (UsableMachine usableMachine)
 
- Public Member Functions inherited from TaleWorlds.MountAndBlade.UsableMachineAIBase
void Tick (Agent agentToCompareTo, Formation formationToCompareTo, Team potentialUsersTeam, float dt)
 
virtual void TeleportUserAgentsToMachine (List< Agent > agentList)
 
void StopUsingStandingPoint (StandingPoint standingPoint)
 

Protected Member Functions

override Agent.AIScriptedFrameFlags GetScriptedFrameFlags (Agent agent)
 
override void OnTick (Agent agentToCompareTo, Formation formationToCompareTo, Team potentialUsersTeam, float dt)
 
- Protected Member Functions inherited from TaleWorlds.MountAndBlade.UsableMachineAIBase
 UsableMachineAIBase (UsableMachine usableMachine)
 
virtual void OnTick (Agent agentToCompareTo, Formation formationToCompareTo, Team potentialUsersTeam, float dt)
 
virtual void HandleAgentStopUsingStandingPoint (Agent agent, StandingPoint standingPoint)
 

Additional Inherited Members

- Static Public Member Functions inherited from TaleWorlds.MountAndBlade.UsableMachineAIBase
static Agent GetSuitableAgentForStandingPoint (UsableMachine usableMachine, StandingPoint standingPoint, IEnumerable< Agent > agents, List< Agent > usedAgents)
 
static Agent GetSuitableAgentForStandingPoint (UsableMachine usableMachine, StandingPoint standingPoint, List< ValueTuple< Agent, float > > agents, List< Agent > usedAgents, float weight)
 
- Protected Attributes inherited from TaleWorlds.MountAndBlade.UsableMachineAIBase
readonly UsableMachine UsableMachine
 The object which ai agents are/will be using.
 
- Properties inherited from TaleWorlds.MountAndBlade.UsableMachineAIBase
virtual bool HasActionCompleted [get]
 
virtual MovementOrder NextOrder [get]
 The next action the ai agents will be ordered to do when this ai component's actions have been completed.
 

Constructor & Destructor Documentation

◆ PassageAI()

SandBox.AI.PassageAI.PassageAI ( UsableMachine  usableMachine)

Member Function Documentation

◆ GetScriptedFrameFlags()

override Agent.AIScriptedFrameFlags SandBox.AI.PassageAI.GetScriptedFrameFlags ( Agent  agent)
protectedvirtual

◆ OnTick()

override void SandBox.AI.PassageAI.OnTick ( Agent  agentToCompareTo,
Formation  formationToCompareTo,
Team  potentialUsersTeam,
float  dt 
)
protectedvirtual