Class MobilePartyAi
- Namespace
- TaleWorlds.CampaignSystem.Party
- Assembly
- TaleWorlds.CampaignSystem.dll
public class MobilePartyAi
- Inheritance
-
MobilePartyAi
- Inherited Members
Fields
GoAroundPartyWaitNearbyRadiusMultiplier
public const float GoAroundPartyWaitNearbyRadiusMultiplier = 1.2
Field Value
HourCounter
[SaveableField(6)]
public int HourCounter
Field Value
Properties
AiBehaviorMapEntity
public IMapEntity AiBehaviorMapEntity { get; set; }
Property Value
AiBehaviorPartyBase
public PartyBase AiBehaviorPartyBase { get; }
Property Value
DefaultBehavior
public AiBehavior DefaultBehavior { get; }
Property Value
DoNotAttackMainPartyUntil
[SaveableProperty(31)]
public CampaignTime DoNotAttackMainPartyUntil { get; }
Property Value
DoNotMakeNewDecisions
[SaveableProperty(11)]
public bool DoNotMakeNewDecisions { get; }
Property Value
ForceAiNoPathMode
[CachedData]
public bool ForceAiNoPathMode { get; set; }
Property Value
IsAlerted
[SaveableProperty(17)]
public bool IsAlerted { get; }
Property Value
IsDisabled
public bool IsDisabled { get; }
Property Value
MoveTargetParty
[SaveableProperty(26)]
public MobileParty MoveTargetParty { get; }
Property Value
NeedTargetReset
public bool NeedTargetReset { get; }
Property Value
NextTargetPosition
[SaveableProperty(27)]
public Vec2 NextTargetPosition { get; }
Property Value
NumberOfRecentFleeingFromAParty
public int NumberOfRecentFleeingFromAParty { get; }
Property Value
PartyMoveMode
[SaveableProperty(24)]
public MoveModeType PartyMoveMode { get; }
Property Value
Path
[CachedData]
public NavigationPath Path { get; }
Property Value
PathBegin
[CachedData]
public int PathBegin { get; }
Property Value
RethinkAtNextHourlyTick
[SaveableProperty(10)]
public bool RethinkAtNextHourlyTick { get; set; }
Property Value
Methods
AutoGeneratedInstanceCollectObjects(List<object>)
protected virtual void AutoGeneratedInstanceCollectObjects(List<object> collectedObjects)
Parameters
CheckPartyNeedsUpdate()
public void CheckPartyNeedsUpdate()
DisableAi()
public void DisableAi()
DisableForHours(int)
public void DisableForHours(int hours)
Parameters
hours
int
EnableAgainAtHourIsPast()
public bool EnableAgainAtHourIsPast()
Returns
EnableAi()
public void EnableAi()
IsFleeing()
public bool IsFleeing()
Returns
RecalculateShortTermAi()
public void RecalculateShortTermAi()
ResetAiBehaviorObject()
public void ResetAiBehaviorObject()
SetAsMainParty()
public void SetAsMainParty()
SetDoNotAttackMainParty(int)
public void SetDoNotAttackMainParty(int hours)
Parameters
hours
int
SetDoNotMakeNewDecisions(bool)
public void SetDoNotMakeNewDecisions(bool doNotMakeNewDecisions)
Parameters
doNotMakeNewDecisions
bool
SetInitiative(float, float, float)
public void SetInitiative(float attackInitiative, float avoidInitiative, float hoursUntilReset)
Parameters
SetMoveBesiegeSettlement(Settlement)
public void SetMoveBesiegeSettlement(Settlement settlement)
Parameters
settlement
Settlement
SetMoveDefendSettlement(Settlement)
public void SetMoveDefendSettlement(Settlement settlement)
Parameters
settlement
Settlement
SetMoveEngageParty(MobileParty)
public void SetMoveEngageParty(MobileParty party)
Parameters
party
MobileParty
SetMoveEscortParty(MobileParty)
public void SetMoveEscortParty(MobileParty mobileParty)
Parameters
mobileParty
MobileParty
SetMoveGoAroundParty(MobileParty)
public void SetMoveGoAroundParty(MobileParty party)
Parameters
party
MobileParty
SetMoveGoToPoint(Vec2)
public void SetMoveGoToPoint(Vec2 point)
Parameters
point
Vec2
SetMoveGoToSettlement(Settlement)
public void SetMoveGoToSettlement(Settlement settlement)
Parameters
settlement
Settlement
SetMoveModeHold()
public void SetMoveModeHold()
SetMovePatrolAroundPoint(Vec2)
public void SetMovePatrolAroundPoint(Vec2 point)
Parameters
point
Vec2
SetMovePatrolAroundSettlement(Settlement)
public void SetMovePatrolAroundSettlement(Settlement settlement)
Parameters
settlement
Settlement
SetMoveRaidSettlement(Settlement)
public void SetMoveRaidSettlement(Settlement settlement)
Parameters
settlement
Settlement
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).