H7CreatureStackMover¶
Class in MMH7Game · MMH7Game.H7CreatureStackMover
Object › Actor › H7CreatureStackBaseMover › H7CreatureStackMover
Subclasses: H7CreatureStackGhostWalker
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mCreaturePostTurnTime | float | protected |
mCreaturePreTurnTime | float | protected |
mCreatureTurnTimeCut | float | protected |
mDustParticles | ParticleSystem | protected |
mHeroPostTurnTime | float | protected |
mHeroPreTurnTime | float | protected |
mHeroTurnBlendAlpha | float | protected |
mHeroTurnTime | float | protected |
mInRotateMode | bool | protected |
mLastPath | array<H7BaseCell> | |
mPassedThroughTargetables | array<H7IEffectTargetable> | protected |
mVisitedAdventureCells | array<H7AdventureMapCell> | protected |
mWaterSplashParticles | ParticleSystem | protected |
Functions¶
| Name | Declaration |
|---|---|
CheckForGateAhead | function CheckForGateAhead() |
CreateFootprint | simulated unreliable client function CreateFootprint(H7AdventureMapCell cell) |
GetCurrentTargetRotation | protected function Rotator GetCurrentTargetRotation() |
Initialize | function Initialize(H7Unit Stack) |
InterruptAndRotate | function InterruptAndRotate() |
IsMoving | function bool IsMoving() |
SkipMove | function bool SkipMove() |
States¶
State code replaces the class's functions while the object is in that state. Hook a state's version as MMH7Game.H7CreatureStackMover.<State>.<Function>.
| State | Functions |
|---|---|
| Limbo | AttackStack, MoveStack, RotateStack |
| Turning | BeginState, UpdateMovement |
| TurnToTarget | BeginState, UpdateMovement |
| Walking | BeginState, CheckForGateAhead, NewCellReached, NextTargetDot, UpdateMovement |
Default values¶
mHeroTurnTime=0.4250000
mHeroPreTurnTime=0.2000000
mHeroPostTurnTime=0.1500000
mCreatureTurnTimeCut=0.6000000
mHeroTurnBlendAlpha=0.1000000
mWaterSplashParticles=ParticleSystem'H7FX_Footprints.PS_WaterCollision'
mDustParticles=ParticleSystem'H7FX_Footprints.PS_WalkingDust'
mSecPerField=1.0000000
Inherited¶
| From | Members |
|---|---|
| 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 |