Skip to content

H7CreatureStackGhostWalker

Class in MMH7Game · MMH7Game.H7CreatureStackGhostWalker

Object › Actor › H7CreatureStackBaseMover › H7CreatureStackMover › H7CreatureStackGhostWalker

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

Properties

NameTypeNotes
mWalkFXDonebool

Functions

NameDeclaration
CreateMaterialFXfunction CreateMaterialFX()
Initializefunction Initialize(H7Unit Stack)
MoveStackfunction MoveStack(array<H7BaseCell> Path, optional H7IEffectTargetable Target)
ResetWalkFXfunction ResetWalkFX()
UpdateGhostMovementfunction UpdateGhostMovement()

States

State code replaces the class's functions while the object is in that state. Hook a state's version as MMH7Game.H7CreatureStackGhostWalker.<State>.<Function>.

StateFunctions
WalkingBeginState

Inherited

FromMembers
H7CreatureStackMoverProperties: mCreaturePostTurnTime, mCreaturePreTurnTime, mCreatureTurnTimeCut, mDustParticles, mHeroPostTurnTime, mHeroPreTurnTime, mHeroTurnBlendAlpha, mHeroTurnTime, mInRotateMode, mLastPath, mPassedThroughTargetables, mVisitedAdventureCells, mWaterSplashParticles
Functions: CheckForGateAhead, CreateFootprint, GetCurrentTargetRotation, Initialize, InterruptAndRotate, IsMoving, SkipMove
H7CreatureStackBaseMoverProperties: mCurrentCell, mCurveMaxStepsAdv, mCurveMaxStepsCombat, mDestinationCell, mLerpTargetLocation, mLerpTargetRotation, mLerpTimer, mLerpTimerRotation, mLerpToLocation, mLerpToRotation, mMoveTime, mMovingRepresentation, mMovingStack, MOVEMENT_DOTS_PER_CELL, mPassedUnits, mPath, mPlayerController, mSecPerField, mStartPos, mStartRot, mTarget
Functions: AddEnemyPositionToPath, AttackStack, ClearPath, DotIndexToCellIndex, GetCellLocation, GetCellOfTarget, GetOptimalTargetRotation, GetSecondsPerField, GetSmoothAdventurePath, GetSmoothCombatPath, GetSmoothPath, GetTargetRotation, Initialize, IsMoving, LerpToLocation, LerpToRotation, MoveStack, OnAttackStackFinishedFunc, OpenGateOnTargetPos, RestorePassedUnits, RotateStack, SetLerpToLocation, SetLerpToRotation, UpdateMovement, UpdateRotation
Actor156 properties, 262 functions
Object13 properties, 308 functions