|
static MobileParty | SpawnLordParty (Hero hero, Settlement spawnSettlement) |
|
static MobileParty | SpawnLordParty (Hero hero, Vec2 position, float spawnRadius) |
|
static void | CreateNewClanMobileParty (Hero partyLeader, Clan clan, out bool leaderCameFromMainParty) |
|
static void | DesertTroopsFromParty (MobileParty party, int stackNo, int numberOfDeserters, int numberOfWoundedDeserters, ref TroopRoster desertedTroopList) |
|
static bool | IsHeroAssignableForScoutInParty (Hero hero, MobileParty party) |
|
static bool | IsHeroAssignableForEngineerInParty (Hero hero, MobileParty party) |
|
static bool | IsHeroAssignableForSurgeonInParty (Hero hero, MobileParty party) |
|
static bool | IsHeroAssignableForQuartermasterInParty (Hero hero, MobileParty party) |
|
static Hero | GetHeroWithHighestSkill (MobileParty party, SkillObject skill) |
|
static TroopRoster | GetStrongestAndPriorTroops (MobileParty mobileParty, int maxTroopCount, bool includePlayer) |
|
static TroopRoster | GetStrongestAndPriorTroops (FlattenedTroopRoster roster, int maxTroopCount, bool includePlayer) |
|
static int | GetMaximumXpAmountPartyCanGet (MobileParty party) |
|
static void | PartyAddSharedXp (MobileParty party, float xpToDistribute) |
|
static Vec2 | FindReachablePointAroundPosition (Vec2 centerPosition, float maxDistance, float minDistance=0.0f) |
|
static void | TryMatchPartySpeedWithItemWeight (MobileParty party, float targetPartySpeed, ItemObject itemToUse=null) |
| Adds or removes counts of the specified or default item object in an effort to match target party speed.
|
|
static void | UtilizePartyEscortBehavior (MobileParty escortedParty, MobileParty escortParty, ref bool isWaitingForEscortParty, float innerRadius, float outerRadius, ResumePartyEscortBehaviorDelegate onPartyEscortBehaviorResumed, bool showDebugSpheres=false) |
| Helper function that stops the escorted party when the escort is away and resumes movement when close.
|
|
static Hero | GetMainPartySkillCounsellor (SkillObject skill) |
|
static Settlement | GetCurrentSettlementOfMobilePartyForAICalculation (MobileParty mobileParty) |
|