H7AiAdventureMap¶
Class in MMH7Game · MMH7Game.H7AiAdventureMap · native
Object › Actor › H7AiAdventureMap
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mActionAttackTargetAoC | H7AiActionAttackTargetAoC | protected |
mActionAttackTargetArmy | H7AiActionAttackTargetArmy | protected |
mActionAttackTargetBorderArmy | H7AiActionAttackTargetBorderArmy | protected |
mActionAttackTargetCity | H7AiActionAttackTargetCity | protected |
mActionAttackTargetEnemy | H7AiActionAttackTargetEnemy | protected |
mActionChill | H7AiActionChillAroundTown | protected |
mActionCongregate | H7AiActionCongregate | protected |
mActionDestroyTargetMine | H7AiActionDestroyTargetMine | protected |
mActionDevelopTownBuilding | H7AiActionDevelopTownBuilding | protected |
mActionExplore | H7AiActionExplore | protected |
mActionFlee | H7AiActionFlee | protected |
mActionGarrisonTown | H7AiActionGarrisonTown | protected |
mActionGather | H7AiActionGather | protected |
mActionHireHero | H7AiActionHireHero | protected |
mActionPickup | H7AiActionPickup | protected |
mActionPlunder | H7AiActionPlunder | protected |
mActionRecruitment | H7AiActionRecruitment | protected |
mActionReinforce | H7AiActionReinforce | protected |
mActionRepair | H7AiActionRepairTarget | protected |
mActionReplenish | H7AiActionReplenish | protected |
mActionRetrieveTearOfAsha | H7AiActionRetrieveTearOfAsha | protected |
mActionTrade | H7AiActionTrade | protected |
mActionUpgradeCreature | H7AiActionUpgradeCreatures | protected |
mActionUseSite | H7AiActionUseSite | protected |
mActionUseSiteBoost | H7AiActionUseSite_Boost | protected |
mActionUseSiteCommission | H7AiActionUseSite_Commission | protected |
mActionUseSiteExercise | H7AiActionUseSite_Exercise | protected |
mActionUseSiteKeymaster | H7AiActionUseSite_Keymaster | protected |
mActionUseSiteObelisk | H7AiActionUseSite_Obelisk | protected |
mActionUseSiteObserve | H7AiActionUseSite_Observe | protected |
mActionUseSiteShop | H7AiActionUseSite_Shop | protected |
mActionUseSiteStudy | H7AiActionUseSite_Study | protected |
mActionUseSiteTeleporter | H7AiActionUseSite_Teleporter | protected |
mDeferTimer | float | protected |
mRecruitStep | int | protected |
mScores | array<AiActionScore> | protected |
mSensors | H7AiAdventureSensors | protected |
mThinkStep | int | protected |
mTimeSinceLastThink | float | protected |
Functions¶
| Name | Declaration |
|---|---|
AutoassignGovernorFromGarrison | function AutoassignGovernorFromGarrison(H7Town Town) |
AutoequipHero | function AutoequipHero(H7AdventureHero Hero) |
AutoequipHeroes | function AutoequipHeroes(H7Player Player) |
CheckDiscoveryThreshold | function bool CheckDiscoveryThreshold(H7Player Player, float Threshold) |
DeferExecution | native function DeferExecution(float Seconds) |
DeferExecutionMore | native function DeferExecutionMore() |
GetRecruitStep | function int GetRecruitStep() |
GetSensors | function H7AiAdventureSensors GetSensors() |
GetTimeSinceLastThink | function float GetTimeSinceLastThink() |
IsAiEnabled | function bool IsAiEnabled() |
LevelUpHero | function bool LevelUpHero(H7AdventureHero Hero) |
LevelUpHeroes | function LevelUpHeroes(H7Player Player) |
MergeArmyCreatureStacks | function MergeArmyCreatureStacks(H7Player Player) |
Obey | function Obey(H7AdventureArmy Army) |
PostBeginPlay | function PostBeginPlay() |
ReassignHeroRoles | function ReassignHeroRoles(H7Player Player) |
ResetThink | function ResetThink() |
ResetTimeSinceLastThink | function ResetTimeSinceLastThink() |
ScoreSort | delegate int ScoreSort(AiActionScore A, AiActionScore B) |
SearchReplaceEquipment | function SearchReplaceEquipment(H7AdventureHero Hero, H7StructsAndEnumsNative.EItemType itype) |
SetRecruitStep | function SetRecruitStep(int V) |
Think | function Think(H7Unit Unit, float DeltaTime) |
ThinkBig | function ThinkBig(H7Player dasPlayer) |
ThinkTown | function ThinkTown(H7AreaOfControlSiteLord Site, optional bool calcHeroRecruit = true) |
TickAITimeBetweenThink | function TickAITimeBetweenThink(float DeltaTime) |
UpdateTensionParameters | function UpdateTensionParameters(H7Player Player) |
Default values¶
Inherited¶
| From | Members |
|---|---|
| Actor | 156 properties, 262 functions |
| Object | 13 properties, 308 functions |