Table of Contents

Class AssignPlayerRoleInTeamMissionController

Namespace
TaleWorlds.MountAndBlade
Assembly
TaleWorlds.MountAndBlade.dll
public class AssignPlayerRoleInTeamMissionController : MissionLogic, IMissionBehavior
Inheritance
AssignPlayerRoleInTeamMissionController
Implements
Inherited Members

Constructors

AssignPlayerRoleInTeamMissionController(bool, bool, bool, List<string>, FormationClass)

public AssignPlayerRoleInTeamMissionController(bool isPlayerGeneral, bool isPlayerSergeant, bool isPlayerInArmy, List<string> charactersInPlayerSideByPriority = null, FormationClass preassignedFormationClass = FormationClass.General)

Parameters

isPlayerGeneral bool
isPlayerSergeant bool
isPlayerInArmy bool
charactersInPlayerSideByPriority List<string>
preassignedFormationClass FormationClass

Properties

IsPlayerGeneral

public bool IsPlayerGeneral { get; }

Property Value

bool

IsPlayerInArmy

public bool IsPlayerInArmy { get; }

Property Value

bool

Methods

AfterStart()

public override void AfterStart()

OnPlayerChoiceMade(int, bool)

public void OnPlayerChoiceMade(int chosenIndex, bool isFinal)

Parameters

chosenIndex int
isFinal bool

OnPlayerChoiceMade(FormationClass, BehaviorSide)

public void OnPlayerChoiceMade(FormationClass chosenFormationClass, FormationAI.BehaviorSide formationBehaviorSide = BehaviorSide.Middle)

Parameters

chosenFormationClass FormationClass
formationBehaviorSide FormationAI.BehaviorSide

OnPlayerTeamDeployed()

public void OnPlayerTeamDeployed()

OnTeamDeployed(Team)

public override void OnTeamDeployed(Team team)

Parameters

team Team

Events

OnAllFormationsAssignedSergeants

public event AllFormationsAssignedSergeantsEvent OnAllFormationsAssignedSergeants

Event Type

AllFormationsAssignedSergeantsEvent

OnPlayerTurnToChooseFormationToLead

public event PlayerTurnToChooseFormationToLeadEvent OnPlayerTurnToChooseFormationToLead

Event Type

PlayerTurnToChooseFormationToLeadEvent

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).