H7AiCombatMap¶
Class in MMH7Game · MMH7Game.H7AiCombatMap
Object › Actor › H7AiCombatMap
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mActionActivateRune | H7AiActionActivateRune | protected |
mActionAttackCreatureStack | H7AiActionAttackCreatureStack | protected |
mActionAttackHero | H7AiActionAttackHero | protected |
mActionCastSpellHero | H7AiActionCastSpellHero | protected |
mActionDefend | H7AiActionDefend | protected |
mActionFleeSurrenderCombat | H7AiActionFleeSurrenderCombat | protected |
mActionMoveAttackCreatureStack | H7AiActionMoveAttackCreatureStack | protected |
mActionMoveCreatureStack | H7AiActionMoveCreatureStack | protected |
mActionMoveRune | H7AiActionMoveRune | protected |
mActionRangeAttackCreatureStack | H7AiActionRangeAttackCreatureStack | protected |
mActionUseAbilityCreature | H7AiActionUseAbilityCreature | protected |
mActionWaitCreature | H7AiActionWaitCreature | protected |
mActionWaitHero | H7AiActionWaitHero | protected |
mDeferTimer | float | protected |
mDubStep | int | protected |
mEvaluations | array<H7AiSpellEvaluation> | protected |
mInstructions | array<H7AiCombatInstruction> | protected |
mOptimalBestDamage | float | protected |
mOptimalBestDone | bool | protected |
mOptimalBestTarget | H7IEffectTargetable | protected |
mOptimalCalcIndex | int | protected |
mScores | array<AiActionScore> | protected |
mSensors | H7AiCombatSensors | protected |
mThinkStep | int | protected |
Functions¶
| Name | Declaration |
|---|---|
DeferExecution | function DeferExecution(float Seconds) |
GetOptimalTarget | function H7IEffectTargetable GetOptimalTarget(H7HeroAbility Spell, H7CombatHero Hero, out float bestDamage) |
GetRandomCreatureStack | protected function H7CreatureStack GetRandomCreatureStack(array<H7CreatureStack> creatureStacks, H7BaseAbility Ability) |
GetSensors | function H7AiCombatSensors GetSensors() |
PostBeginPlay | function PostBeginPlay() |
ResetThink | function ResetThink() |
ScoreSort | delegate int ScoreSort(AiActionScore A, AiActionScore B) |
SortEvaluations | delegate int SortEvaluations(H7AiSpellEvaluation A, H7AiSpellEvaluation B) |
Think | function Think(H7Unit Unit, float DeltaTime) |
ThinkBig | function ThinkBig(H7Unit currentUnit) |
Default values¶
Inherited¶
| From | Members |
|---|---|
| Actor | 156 properties, 262 functions |
| Object | 13 properties, 308 functions |