Skip to content

H7AdventureMapPathPreviewer

Class in MMH7Game · MMH7Game.H7AdventureMapPathPreviewer

Object › Actor › H7BasePathPreviewer › H7AdventureMapPathPreviewer

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

Constants

NameValue
HOVER_MATERIAL_NAME"FX_Units.Adventure.M_Hover"
PATH_ICON_HEIGHT136
PATH_ICON_WIDTH136
SPOT_MATERIAL_NAME"FX_Units.Adventure.M_PathSpot"
TARGET_MATERIAL_NAME"FX_Units.Adventure.M_PathTarget"
TURN_ICON_HEIGHT144
TURN_ICON_WIDTH144
TURN_MATERIAL_NAME"FX_Units.Adventure.M_PathWaypointTurn"
TURN_TEXTURE_NAME"FX_Units.Adventure.T_PathWaypointTurn"
WAYPOINT_ICON_HEIGHT192
WAYPOINT_ICON_WIDTH192
WAYPOINT_MATERIAL_NAME"FX_Units.Adventure.M_PathWaypoint"

Properties

NameTypeNotes
mHoverDotH7PathDotprotected

Functions

NameDeclaration
InitDotfunction InitDot(H7PathDot Dot, string materialName, LinearColor Col, Vector Loc, Rotator Rot, optional int Width = 136, optional int Height = 136, optional string TextureName = "", optional bool lookAtView, optional bool isWater)
IsHoverDotInactivefunction bool IsHoverDotInactive()
MakeDotAtfunction MakeDotAt(string materialName, LinearColor Col, Vector Loc, Rotator Rot, optional int Width = 136, optional int Height = 136, optional string TextureName = "", optional bool lookAtView, optional bool isWater)
RemoveHoverDotfunction RemoveHoverDot()
SetHoverDotfunction SetHoverDot(H7AdventureMapCell cell, H7StructsAndEnums.ECurrentArmyAction Action)
ShowPreviewfunction ShowPreview(array<H7AdventureMapCell> Path, int numOfWalkableCells, int currentMovePoints, int maxMovePoints, array pathCosts, optional int conflictCellIndex = -1)
SpawnDotAtfunction H7PathDot SpawnDotAt(string materialName, LinearColor Col, Vector Loc, Rotator Rot, optional int Width = 136, optional int Height = 136, optional string TextureName = "")
UpdatePreviewfunction UpdatePreview()

Inherited

FromMembers
H7BasePathPreviewerProperties: mUnusedDots, mUsedDots
Functions: HidePreview
Actor156 properties, 262 functions
Object13 properties, 308 functions