Skip to content

H7CreatureStackMovementControl

Class in MMH7Game · MMH7Game.H7CreatureStackMovementControl · native

Object › Actor › H7CreatureStackMovementControl

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

Constants

NameValue
MAX_DIST_1X1_FLYUNITS_WALK1
MAX_DIST_1X1_TELEPORTUNITS_WALK2
MAX_DIST_2X2_FLYUNITS_WALK2
MAX_DIST_2X2_TELEPORTUNITS_WALK3
MOVE_SPEED_DILATION2

Properties

NameTypeNotes
mCurrentMoverH7CreatureStackBaseMoverprotected
mFlyMoverH7CreatureStackFlyerprotected
mGhostWalkMoverH7CreatureStackGhostWalkerprotected
mJumpMoverH7CreatureStackJumperprotected
mOwnerH7Unitprotected
mTeleportMoverH7CreatureStackTeleporterprotected
mWalkMoverH7CreatureStackMoverprotected

Functions

NameDeclaration
AttackStackfunction AttackStack(H7IEffectTargetable Target)
CalculateCurrentMoverfunction CalculateCurrentMover(optional array<H7BaseCell> Path)
Destroyedsimulated event Destroyed()
GetCurrentMoverfunction H7CreatureStackBaseMover GetCurrentMover()
GetFlyMoverfunction H7CreatureStackFlyer GetFlyMover()
GetGhostMoverfunction H7CreatureStackGhostWalker GetGhostMover()
GetJumpMoverfunction H7CreatureStackJumper GetJumpMover()
Initializefunction Initialize(H7Unit Unit)
IsMovingfunction bool IsMoving()
LerpStackToLocationfunction LerpStackToLocation(Vector TargetLocation)
LerpStackToRotationfunction LerpStackToRotation(Rotator TargetRotation)
MoveStackfunction MoveStack(array<H7BaseCell> Path, optional H7IEffectTargetable Target)
OnAttackStackFinishedFuncdelegate OnAttackStackFinishedFunc()
RotateStackfunction RotateStack(Rotator targetRot)

Default values

CollisionType=ECollisionType.COLLIDE_CustomDefault

Inherited

FromMembers
Actor156 properties, 262 functions
Object13 properties, 308 functions