Skip to content

H7PresentArmyCameraAction

Class in MMH7Game · MMH7Game.H7PresentArmyCameraAction

Object › Actor › H7CameraAction › H7WaypointBasedCameraAction › H7PresentArmyCameraAction

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

Properties

NameTypeNotes
bPresentCreatureJumpTobool
bUseExtraPointbool
CAM_FOV_CREATURE_ENDfloatconst
CAM_FOV_CREATURE_EXTRAfloatconst
CAM_FOV_CREATURE_STARTfloatconst
CAM_PITCH_CREATURE_ENDfloatconst
CAM_PITCH_CREATURE_EXTRAfloatconst
CAM_PITCH_CREATURE_STARTfloatconst
CAM_ROLL_CREATURE_ENDfloatconst
CAM_ROLL_CREATURE_EXTRAfloatconst
CAM_ROLL_CREATURE_STARTfloatconst
CAM_YAW_CREATURE_ENDfloatconst
CAM_YAW_CREATURE_EXTRAfloatconst
CAM_YAW_CREATURE_STARTfloatconst
CREATURE_DISTANCEfloatconst
CREATURE_OFFSET_ENDVectorconst
CREATURE_OFFSET_EXTRAVectorconst
CREATURE_OFFSET_STARTVectorconst
mEndPointDurationfloat
mExtraPointDurationfloat
mFadeTimefloatconst
mPresentArmyDurationfloat
mSmoothMoveRunningboolprotected
mSmoothMoveTimerfloatprotected

Functions

NameDeclaration
GetTimePassedForSmoothMovefunction float GetTimePassedForSmoothMove()
Initfunction Init()
SortFromNorthToSouthdelegate int SortFromNorthToSouth(H7CreatureStack A, H7CreatureStack B)
SortFromSouthToNorthdelegate int SortFromSouthToNorth(H7CreatureStack A, H7CreatureStack B)
StartActionfunction StartAction()
StopActionfunction StopAction()
Updatefunction Update(float DeltaTime)

Default values

CREATURE_DISTANCE=550.0000000
CAM_PITCH_CREATURE_START=20.0000000
CAM_YAW_CREATURE_START=20.0000000
CAM_FOV_CREATURE_START=60.0000000
CAM_PITCH_CREATURE_END=13.0000000
CAM_YAW_CREATURE_END=330.0000000
CAM_FOV_CREATURE_END=60.0000000
CAM_PITCH_CREATURE_EXTRA=-40.0000000
CAM_YAW_CREATURE_EXTRA=300.0000000
CAM_FOV_CREATURE_EXTRA=60.0000000
bPresentCreatureJumpTo=true
mFadeTime=1.5000000
CLAMP_HEIGHT_MIN=200.0000000

Inherited

FromMembers
H7WaypointBasedCameraActionProperties: CLAMP_HEIGHT_MIN, mIsRunning, mStepTimer, mWaypointIdx, mWaypoints
Functions: AddWaypoint, AddWaypointHero, AddWaypointStack, CalcInterpPercentForWP, GetTimePassedForStep, IsRunning, JumpCameraTo, MoveCameraFromTo, StartAction, StopAction
H7CameraActionProperties: mCam, mCurrentStep, mDuration, mInitialFOV, mInitialRotation, mInitialViewingDistance, mInitialVRP, mMaxSteps, mTimer
Functions: BaseInit, GetDuration, GetInitialFOV, GetInitialRotation, GetInitialViewingDistance, GetInitialVRP, GetTimePassedInPer, IsActionFinished, OnActionCompleted, ResetDuration, RevertCamToInitialValues, SetDuration, SkipAction, StartAction, StopAction, Update
Actor156 properties, 262 functions
Object13 properties, 308 functions