Class GeneralsAndCaptainsAssignmentLogic
- Namespace
- TaleWorlds.MountAndBlade
- Assembly
- TaleWorlds.MountAndBlade.dll
public class GeneralsAndCaptainsAssignmentLogic : MissionLogic, IMissionBehavior
- Inheritance
-
GeneralsAndCaptainsAssignmentLogic
- Implements
- Inherited Members
Constructors
GeneralsAndCaptainsAssignmentLogic(TextObject, TextObject, TextObject, TextObject, bool)
public GeneralsAndCaptainsAssignmentLogic(TextObject attackerGeneralName, TextObject defenderGeneralName, TextObject attackerAllyGeneralName = null, TextObject defenderAllyGeneralName = null, bool createBodyguard = true)
Parameters
attackerGeneralNameTextObjectdefenderGeneralNameTextObjectattackerAllyGeneralNameTextObjectdefenderAllyGeneralNameTextObjectcreateBodyguardbool
Fields
MinimumAgentCountToLeadGeneralFormation
public int MinimumAgentCountToLeadGeneralFormation
Field Value
Methods
AfterStart()
public override void AfterStart()
OnDeploymentFinished()
public override void OnDeploymentFinished()
OnTeamDeployed(Team)
public override void OnTeamDeployed(Team team)
Parameters
teamTeam
PickBestRegularFormationToLead(Agent, List<Formation>)
protected virtual Formation PickBestRegularFormationToLead(Agent agent, List<Formation> candidateFormations)
Parameters
Returns
SortCaptainsByPriority(Team, ref List<Agent>)
protected virtual void SortCaptainsByPriority(Team team, ref List<Agent> captains)
Parameters
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).