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

Keeps decision data for critical tactical decisions that a reported through the TeamAI. This can be used to notify the player about critical tactical decisions of the friendly AI. In future this can also be used to coordinate decisions of ally teams.

Public Member Functions

 TacticalDecision (TacticComponent decidingComponent, TacticalDecisionCode decisionCode, Formation subjectFormation=null, Formation targetFormation=null, WorldPosition? targetPosition=null, MissionObject targetObject=null)
 

Properties

TacticComponent DecidingComponent [get]
 Tactic component making the tactical decision.
 
TacticalDecisionCode DecisionCode [get]
 Generic decision code defining the tactical decision. It is up to the receiver/subscriber to interpret this code.
 
Formation SubjectFormation [get]
 Subject formation for which the decision is made. Must belong to owning tactic component's team. Example: This team's infantry formation deciding to engage an enemy target.
 
Formation TargetFormation [get]
 The target formation of the tactical decision. May or may not belong to owning tactic component's team. Example: An enemy formation to which one of this team's formations (SubjectFormation) will attack next.
 
WorldPositionTargetPosition [get]
 The target world position of the tactical decision. Example: This team's infantry formation is ordered to move to this position.
 
MissionObject TargetObject [get]
 The target mission object of the tactical decision. Example: A sallying out cavalry formation is ordered to destroy an enemy siege engine.
 

Constructor & Destructor Documentation

◆ TacticalDecision()

TaleWorlds.MountAndBlade.TacticalDecision.TacticalDecision ( TacticComponent  decidingComponent,
TacticalDecisionCode  decisionCode,
Formation  subjectFormation = null,
Formation  targetFormation = null,
WorldPosition targetPosition = null,
MissionObject  targetObject = null 
)

Property Documentation

◆ DecidingComponent

TacticComponent TaleWorlds.MountAndBlade.TacticalDecision.DecidingComponent
get

◆ DecisionCode

TacticalDecisionCode TaleWorlds.MountAndBlade.TacticalDecision.DecisionCode
get

◆ SubjectFormation

Formation TaleWorlds.MountAndBlade.TacticalDecision.SubjectFormation
get

◆ TargetFormation

Formation TaleWorlds.MountAndBlade.TacticalDecision.TargetFormation
get

◆ TargetPosition

WorldPosition? TaleWorlds.MountAndBlade.TacticalDecision.TargetPosition
get

◆ TargetObject

MissionObject TaleWorlds.MountAndBlade.TacticalDecision.TargetObject
get