H7EditorCombatGrid¶
Class in MMH7Game · MMH7Game.H7EditorCombatGrid · native, config
Object › Actor › H7EditorMapGrid › H7EditorCombatGrid
Subclasses: H7CombatMapGridController
Using it from Lua
Constants¶
| Name | Value |
|---|---|
WARFARE_UNIT_GRID_BUFFER_SIZE | 4 |
Properties¶
| Name | Type | Notes |
|---|---|---|
cMaximumCombatGridHeight | int | config, editconst, protected |
cMaximumCombatGridWidth | int | config, editconst, protected |
cMinimumCombatGridHeight | int | config, editconst, protected |
cMinimumCombatGridWidth | int | config, editconst, protected |
mAdjustedGridSizeX | int | protected |
mAttackerHeroOffset | IntPoint | protected |
mAttackerPreviewMesh | StaticMeshComponent | protected |
mAttackerWarUnitOffset | int[3] | protected |
mAttackerWarUnitPreviewMesh | StaticMeshComponent[3] | protected |
mCanFlee | bool | protected |
mCanSurrender | bool | protected |
mCombatCells | array<H7CombatMapCell> | protected |
mCustomDecalColor | LinearColor | |
mDecorations | array | editconst, protected |
mDefenderHeroOffset | IntPoint | protected |
mDefenderPreviewMesh | StaticMeshComponent | protected |
mDefenderWarUnitOffset | int[3] | protected |
mDefenderWarUnitPreviewMesh | StaticMeshComponent[3] | protected |
mGridDecal | H7CombatMapGridDecalComponent | protected |
mIsShip | bool | |
mObstaclePlacementCells | array<H7CombatMapCell> | protected |
mObstacles | array | editconst, protected |
mRandomObstacleList | array<H7CombatObstacleObject> | protected |
mSpecialCombatMapAmbient | AkEvent | protected |
mSpecialMapMusic | AkEvent | protected |
mUseCustomDecalColor | bool |
Functions¶
| Name | Declaration |
|---|---|
GetAttackerHeroOffset | function IntPoint GetAttackerHeroOffset() |
GetCenter | function Vector GetCenter() |
GetDecal | function H7CombatMapGridDecalComponent GetDecal() |
GetDefenderHeroOffset | function IntPoint GetDefenderHeroOffset() |
GetDeploymentZoneCenter | function Vector GetDeploymentZoneCenter(float val) |
GetGridSizeX | function int GetGridSizeX() |
GetGridSizeY | function int GetGridSizeY() |
GetMapSpecialAmbient | function AkEvent GetMapSpecialAmbient() |
GetMapSpecialMusic | function AkEvent GetMapSpecialMusic() |
HideDecal | native function HideDecal() |
ShowDecal | native function ShowDecal() |
Tick | event Tick(float DeltaTime) |
Inherited¶
| From | Members |
|---|---|
| H7EditorMapGrid | Properties: mEditorPreviewMesh, mGridSizeX, mGridSizeY, Mid, mInitialLandscapePosition, mLandscape, mSynchLandscapeAndGridPosition Functions: GetCenter, GetGridSizeX, GetGridSizeY, GetMouseHitActorAndLocation |
| Actor | 156 properties, 262 functions |
| Object | 13 properties, 308 functions |