Skip to content

H7EditorCombatGrid

Class in MMH7Game · MMH7Game.H7EditorCombatGrid · native, config

Object › Actor › H7EditorMapGrid › H7EditorCombatGrid

Subclasses: H7CombatMapGridController

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

Constants

NameValue
WARFARE_UNIT_GRID_BUFFER_SIZE4

Properties

NameTypeNotes
cMaximumCombatGridHeightintconfig, editconst, protected
cMaximumCombatGridWidthintconfig, editconst, protected
cMinimumCombatGridHeightintconfig, editconst, protected
cMinimumCombatGridWidthintconfig, editconst, protected
mAdjustedGridSizeXintprotected
mAttackerHeroOffsetIntPointprotected
mAttackerPreviewMeshStaticMeshComponentprotected
mAttackerWarUnitOffsetint[3]protected
mAttackerWarUnitPreviewMeshStaticMeshComponent[3]protected
mCanFleeboolprotected
mCanSurrenderboolprotected
mCombatCellsarray<H7CombatMapCell>protected
mCustomDecalColorLinearColor
mDecorationsarrayeditconst, protected
mDefenderHeroOffsetIntPointprotected
mDefenderPreviewMeshStaticMeshComponentprotected
mDefenderWarUnitOffsetint[3]protected
mDefenderWarUnitPreviewMeshStaticMeshComponent[3]protected
mGridDecalH7CombatMapGridDecalComponentprotected
mIsShipbool
mObstaclePlacementCellsarray<H7CombatMapCell>protected
mObstaclesarrayeditconst, protected
mRandomObstacleListarray<H7CombatObstacleObject>protected
mSpecialCombatMapAmbientAkEventprotected
mSpecialMapMusicAkEventprotected
mUseCustomDecalColorbool

Functions

NameDeclaration
GetAttackerHeroOffsetfunction IntPoint GetAttackerHeroOffset()
GetCenterfunction Vector GetCenter()
GetDecalfunction H7CombatMapGridDecalComponent GetDecal()
GetDefenderHeroOffsetfunction IntPoint GetDefenderHeroOffset()
GetDeploymentZoneCenterfunction Vector GetDeploymentZoneCenter(float val)
GetGridSizeXfunction int GetGridSizeX()
GetGridSizeYfunction int GetGridSizeY()
GetMapSpecialAmbientfunction AkEvent GetMapSpecialAmbient()
GetMapSpecialMusicfunction AkEvent GetMapSpecialMusic()
HideDecalnative function HideDecal()
ShowDecalnative function ShowDecal()
Tickevent Tick(float DeltaTime)

Inherited

FromMembers
H7EditorMapGridProperties: mEditorPreviewMesh, mGridSizeX, mGridSizeY, Mid, mInitialLandscapePosition, mLandscape, mSynchLandscapeAndGridPosition
Functions: GetCenter, GetGridSizeX, GetGridSizeY, GetMouseHitActorAndLocation
Actor156 properties, 262 functions
Object13 properties, 308 functions