M&B: Bannerlord 1.2.12
The horns sound, the ravens gather.
|
Inherits TaleWorlds.MountAndBlade.AgentComponent.
Public Member Functions | |
CampaignAgentComponent (Agent agent) | |
AgentNavigator | CreateAgentNavigator (LocationCharacter locationCharacter) |
AgentNavigator | CreateAgentNavigator () |
void | OnAgentRemoved (Agent agent) |
override void | OnTickAsAI (float dt) |
override float | GetMoraleDecreaseConstant () |
override float | GetMoraleAddition () |
override void | OnStopUsingGameObject () |
Public Member Functions inherited from TaleWorlds.MountAndBlade.AgentComponent | |
virtual void | Initialize () |
virtual void | OnItemPickup (SpawnedItemEntity item) |
virtual void | OnWeaponDrop (MissionWeapon droppedWeapon) |
virtual void | OnWeaponHPChanged (TaleWorlds.Core.ItemObject item, int hitPoints) |
virtual void | OnRetreating () |
virtual void | OnMount (Agent mount) |
virtual void | OnDismount (Agent mount) |
virtual void | OnHit (Agent affectorAgent, int damage, in MissionWeapon affectorWeapon) |
virtual void | OnDisciplineChanged () |
virtual void | OnAgentRemoved () |
virtual void | OnComponentRemoved () |
Only called if component is manually removed without removing the owner Agent during the mission. | |
Properties | |
AgentNavigator | AgentNavigator [get] |
PartyBase | OwnerParty [get] |
Additional Inherited Members | |
Protected Member Functions inherited from TaleWorlds.MountAndBlade.AgentComponent | |
AgentComponent (Agent agent) | |
Protected Attributes inherited from TaleWorlds.MountAndBlade.AgentComponent | |
readonly Agent | Agent |
SandBox.CampaignAgentComponent.CampaignAgentComponent | ( | Agent | agent | ) |
AgentNavigator SandBox.CampaignAgentComponent.CreateAgentNavigator | ( | LocationCharacter | locationCharacter | ) |
AgentNavigator SandBox.CampaignAgentComponent.CreateAgentNavigator | ( | ) |
void SandBox.CampaignAgentComponent.OnAgentRemoved | ( | Agent | agent | ) |
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.AgentComponent.
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.AgentComponent.
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.AgentComponent.
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.AgentComponent.
|
get |
|
get |