H7CreatureStackJumper¶
Class in MMH7Game · MMH7Game.H7CreatureStackJumper
Object › Actor › H7CreatureStackBaseMover › H7CreatureStackJumper
Using it from Lua
Constants¶
| Name | Value |
|---|---|
HEIGHT_TO_TIME_MULT | 2.0f |
JUMP_HEIGHT_OVER_OBSTACLE | 350.0f |
MIN_JUMP_HEIGHT | 500.0f |
Properties¶
| Name | Type | Notes |
|---|---|---|
mJumpCurve | array<FH7FlyTimePoint> | protected |
mJumpEndPitchDuration | float | protected |
mJumpInitialLoc | Vector | protected |
mJumpTargetLoc | Vector | protected |
mOldTurnJump | bool | protected |
mPathCurrStep | int | protected |
mStartJumpFlyDuration | float | protected |
mTotalMoveTime | float | protected |
Functions¶
| Name | Declaration |
|---|---|
EndJumpSequence | function EndJumpSequence() |
GetJumpEndPitchDuration | function float GetJumpEndPitchDuration() |
GetSecondsPerField | function float GetSecondsPerField() |
GetStartJumpDuration | function float GetStartJumpDuration() |
H7FlyTimePointSort | delegate int H7FlyTimePointSort(FH7FlyTimePoint A, FH7FlyTimePoint B) |
Initialize | function Initialize(H7Unit Stack) |
IsMoving | function bool IsMoving() |
StartElevating | function StartElevating() |
States¶
State code replaces the class's functions while the object is in that state. Hook a state's version as MMH7Game.H7CreatureStackJumper.<State>.<Function>.
| State | Functions |
|---|---|
| Elevating extends JumpMovement | BeginState, FieldArrive, UpdateMovement |
| Idle | AttackStack, CalculateJumpCurve, GetMaxPathHeight, MoveStack, SwitchToElevate |
| JumpMovement | BeginState, UpdateMovement, UpdateRotation |
| Landing extends JumpMovement | FieldArrive, UpdateMovementignores UpdateRotation |
| Moving extends JumpMovement | FieldArrive, UpdateMovement |
| TurnToEnemy | BeginState, FieldArrive, UpdateMovement |
| WaitingElevating |
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 |