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
| Name | Value |
HOVER_MATERIAL_NAME | "FX_Units.Adventure.M_Hover" |
PATH_ICON_HEIGHT | 136 |
PATH_ICON_WIDTH | 136 |
SPOT_MATERIAL_NAME | "FX_Units.Adventure.M_PathSpot" |
TARGET_MATERIAL_NAME | "FX_Units.Adventure.M_PathTarget" |
TURN_ICON_HEIGHT | 144 |
TURN_ICON_WIDTH | 144 |
TURN_MATERIAL_NAME | "FX_Units.Adventure.M_PathWaypointTurn" |
TURN_TEXTURE_NAME | "FX_Units.Adventure.T_PathWaypointTurn" |
WAYPOINT_ICON_HEIGHT | 192 |
WAYPOINT_ICON_WIDTH | 192 |
WAYPOINT_MATERIAL_NAME | "FX_Units.Adventure.M_PathWaypoint" |
Properties
Functions
| Name | Declaration |
InitDot | function 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) |
IsHoverDotInactive | function bool IsHoverDotInactive() |
MakeDotAt | function 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) |
RemoveHoverDot | function RemoveHoverDot() |
SetHoverDot | function SetHoverDot(H7AdventureMapCell cell, H7StructsAndEnums.ECurrentArmyAction Action) |
ShowPreview | function ShowPreview(array<H7AdventureMapCell> Path, int numOfWalkableCells, int currentMovePoints, int maxMovePoints, array pathCosts, optional int conflictCellIndex = -1) |
SpawnDotAt | function H7PathDot SpawnDotAt(string materialName, LinearColor Col, Vector Loc, Rotator Rot, optional int Width = 136, optional int Height = 136, optional string TextureName = "") |
UpdatePreview | function UpdatePreview() |
Inherited