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
| Name | Type | Notes |
mWalkFXDone | bool | |
Functions
| Name | Declaration |
CreateMaterialFX | function CreateMaterialFX() |
Initialize | function Initialize(H7Unit Stack) |
MoveStack | function MoveStack(array<H7BaseCell> Path, optional H7IEffectTargetable Target) |
ResetWalkFX | function ResetWalkFX() |
UpdateGhostMovement | function 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>.
| State | Functions |
| Walking | BeginState |
Inherited
| From | Members |
| H7CreatureStackMover | Properties: mCreaturePostTurnTime, mCreaturePreTurnTime, mCreatureTurnTimeCut, mDustParticles, mHeroPostTurnTime, mHeroPreTurnTime, mHeroTurnBlendAlpha, mHeroTurnTime, mInRotateMode, mLastPath, mPassedThroughTargetables, mVisitedAdventureCells, mWaterSplashParticles Functions: CheckForGateAhead, CreateFootprint, GetCurrentTargetRotation, Initialize, InterruptAndRotate, IsMoving, SkipMove |
| H7CreatureStackBaseMover | Properties: 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 |
| Actor | 156 properties, 262 functions |
| Object | 13 properties, 308 functions |