M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.MountAndBlade.RangedSiegeWeaponAi Class Reference

Inherits TaleWorlds.MountAndBlade.UsableMachineAIBase.

Inherited by TaleWorlds.MountAndBlade.BallistaAI, TaleWorlds.MountAndBlade.MangonelAI, and TaleWorlds.MountAndBlade.TrebuchetAI.

Classes

class  ThreatSeeker
 

Public Member Functions

 RangedSiegeWeaponAi (RangedSiegeWeapon rangedSiegeWeapon)
 
void FindNextTarget ()
 
- 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 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

◆ RangedSiegeWeaponAi()

TaleWorlds.MountAndBlade.RangedSiegeWeaponAi.RangedSiegeWeaponAi ( RangedSiegeWeapon  rangedSiegeWeapon)

Member Function Documentation

◆ OnTick()

override void TaleWorlds.MountAndBlade.RangedSiegeWeaponAi.OnTick ( Agent  agentToCompareTo,
Formation  formationToCompareTo,
Team  potentialUsersTeam,
float  dt 
)
protectedvirtual

◆ FindNextTarget()

void TaleWorlds.MountAndBlade.RangedSiegeWeaponAi.FindNextTarget ( )