H7CreatureStackTeleporter¶
Class in MMH7Game · MMH7Game.H7CreatureStackTeleporter
Object › Actor › H7CreatureStackBaseMover › H7CreatureStackTeleporter
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mSecToAppear | float | protected |
mSecToVanish | float | protected |
Functions¶
| Name | Declaration |
|---|---|
GetCurrentTargetRotation | function Rotator GetCurrentTargetRotation() |
GetTargetRotation | protected function Rotator GetTargetRotation(int pathIndex) |
Initialize | function Initialize(H7Unit Stack) |
IsMoving | function bool IsMoving() |
States¶
State code replaces the class's functions while the object is in that state. Hook a state's version as MMH7Game.H7CreatureStackTeleporter.<State>.<Function>.
| State | Functions |
|---|---|
| Appear | BeginState, FieldArrive, UpdateMovement |
| Idle | AttackStack, MoveStack, RotateStack |
| Moving | FieldArrive, UpdateMovement |
| TurnToEnemy | BeginState, FieldArrive, UpdateMovement |
| Vanish | BeginState, FieldArrive, UpdateMovement |
Default values¶
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 |