Skip to content

H7AiActionMoveCreatureStack

Class in MMH7Game · MMH7Game.H7AiActionMoveCreatureStack

Object › H7AiActionBase › H7AiActionMoveCreatureStack

Using it from Lua
h7.find_all("H7AiActionMoveCreatureStack")            -- live instances
h7.find_class("MMH7Game.H7AiActionMoveCreatureStack")   -- the class
h7.hook("MMH7Game.H7AiActionMoveCreatureStack.DebugName", fn)

Properties

NameTypeNotes
mInUAdjacentEnemyH7AiUtilityHasAnyAdjacentEnemyprotected
mInUEnemyDistanceH7AiUtilityEnemyDistanceprotected
mInUMoveDistanceH7AiUtilityStackMoveDistanceprotected
mInUOpportunityH7AiUtilityOpportunityprotected
mInUThreatLevelH7AiUtilityThreatLevelprotected
mInUTurnValueH7AiUtilityStackReachesTileIn1Turnprotected

Functions

NameDeclaration
DebugNamefunction string DebugName()
PerformActionfunction bool PerformAction(H7Unit Unit, AiActionScore Score)
RunScoresfunction RunScores(H7AiCombatSensors sensors, H7Unit currentUnit, out array<AiActionScore> scores)
Setupfunction Setup()
StackCanMoveTofunction bool StackCanMoveTo(H7CreatureStack cstack, H7CombatMapCell cell)
WillStackPassThroughHostileAurasfunction bool WillStackPassThroughHostileAuras(H7CreatureStack cstack, H7CombatMapCell cell)

Inherited

FromMembers
H7AiActionBaseProperties: mABID
Functions: DebugName, GetAdvActionID, PerformAction, PerformActionTown, RunScores, RunScoresAdv, RunScoresTown
Object13 properties, 308 functions