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

Static Public Member Functions

static float GetMorale (this Agent agent)
 
static void SetMorale (this Agent agent, float morale)
 
static void ChangeMorale (this Agent agent, float delta)
 
static bool IsRetreating (this Agent agent, bool isComponentAssured=true)
 
static void Retreat (this Agent agent)
 
static void StopRetreatingMoraleComponent (this Agent agent)
 
static void SetAIBehaviorValues (this Agent agent, HumanAIComponent.AISimpleBehaviorKind behavior, float y1, float x2, float y2, float x3, float y3)
 
static void AIMoveToGameObjectEnable (this Agent agent, UsableMissionObject usedObject, IDetachment detachment, Agent.AIScriptedFrameFlags scriptedFrameFlags=Agent.AIScriptedFrameFlags.NoAttack)
 
static void AIMoveToGameObjectDisable (this Agent agent)
 
static bool AIMoveToGameObjectIsEnabled (this Agent agent)
 
static bool AIUseGameObjectIsEnabled (this Agent agent)
 
static void AIUseGameObjectEnable (this Agent agent, bool isUsing)
 
static Agent GetFollowedUnit (this Agent agent)
 
static void SetFollowedUnit (this Agent agent, Agent followedUnit)
 

Member Function Documentation

◆ GetMorale()

static float TaleWorlds.MountAndBlade.AgentComponentExtensions.GetMorale ( this Agent  agent)
static

◆ SetMorale()

static void TaleWorlds.MountAndBlade.AgentComponentExtensions.SetMorale ( this Agent  agent,
float  morale 
)
static

◆ ChangeMorale()

static void TaleWorlds.MountAndBlade.AgentComponentExtensions.ChangeMorale ( this Agent  agent,
float  delta 
)
static

◆ IsRetreating()

static bool TaleWorlds.MountAndBlade.AgentComponentExtensions.IsRetreating ( this Agent  agent,
bool  isComponentAssured = true 
)
static

◆ Retreat()

static void TaleWorlds.MountAndBlade.AgentComponentExtensions.Retreat ( this Agent  agent)
static

◆ StopRetreatingMoraleComponent()

static void TaleWorlds.MountAndBlade.AgentComponentExtensions.StopRetreatingMoraleComponent ( this Agent  agent)
static

◆ SetAIBehaviorValues()

static void TaleWorlds.MountAndBlade.AgentComponentExtensions.SetAIBehaviorValues ( this Agent  agent,
HumanAIComponent.AISimpleBehaviorKind  behavior,
float  y1,
float  x2,
float  y2,
float  x3,
float  y3 
)
static

◆ AIMoveToGameObjectEnable()

static void TaleWorlds.MountAndBlade.AgentComponentExtensions.AIMoveToGameObjectEnable ( this Agent  agent,
UsableMissionObject  usedObject,
IDetachment  detachment,
Agent.AIScriptedFrameFlags  scriptedFrameFlags = Agent.AIScriptedFrameFlags.NoAttack 
)
static

◆ AIMoveToGameObjectDisable()

static void TaleWorlds.MountAndBlade.AgentComponentExtensions.AIMoveToGameObjectDisable ( this Agent  agent)
static

◆ AIMoveToGameObjectIsEnabled()

static bool TaleWorlds.MountAndBlade.AgentComponentExtensions.AIMoveToGameObjectIsEnabled ( this Agent  agent)
static

◆ AIUseGameObjectIsEnabled()

static bool TaleWorlds.MountAndBlade.AgentComponentExtensions.AIUseGameObjectIsEnabled ( this Agent  agent)
static

◆ AIUseGameObjectEnable()

static void TaleWorlds.MountAndBlade.AgentComponentExtensions.AIUseGameObjectEnable ( this Agent  agent,
bool  isUsing 
)
static

◆ GetFollowedUnit()

static Agent TaleWorlds.MountAndBlade.AgentComponentExtensions.GetFollowedUnit ( this Agent  agent)
static

◆ SetFollowedUnit()

static void TaleWorlds.MountAndBlade.AgentComponentExtensions.SetFollowedUnit ( this Agent  agent,
Agent  followedUnit 
)
static