H7Fort¶
Class in MMH7Game · MMH7Game.H7Fort · native, perobjectconfig
Object › Actor › SkeletalMeshActor › SkeletalMeshCinematicActor › SkeletalMeshActorMAT › H7EditorMapObject › H7AdventureObject › H7VisitableSite › H7AreaOfControlSite › H7AreaOfControlSiteLord › H7Fort
Implements: H7ITooltipable
Subclasses: H7RandomFort
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mCombatMapName | string | protected |
mDestroyedPercent | float | no declaration: type is approximate |
mDestroyEffect | ParticleSystem | |
mDestroyRotation | Rotator | protected |
mDestroyRotationTimePct | float | protected |
mDestroySpeed | float | protected |
mFXRebuildTime | float | protected |
mFXRuined | ParticleSystem | protected |
mFXRuinedScale | Vector | protected |
mIsDestroying | bool | protected |
mIsFractured | bool | protected |
mIsRebuilding | bool | protected |
mMaterialRuined | MaterialInstanceConstant | protected |
mMeshRuined | StaticMesh | protected |
mMeshRuinedScale | Vector | protected |
mOriginalFloatScale | float | no declaration: type is approximate |
mOriginalFX | Object | no declaration: type is approximate |
mOriginalFXFloatScale | float | no declaration: type is approximate |
mOriginalFXRotation | struct | no declaration: type is approximate |
mOriginalFXScale | struct | no declaration: type is approximate |
mOriginalFXTranslation | struct | no declaration: type is approximate |
mOriginalMesh | Object | no declaration: type is approximate |
mOriginalMeshRotation | struct | no declaration: type is approximate |
mOriginalMeshScale | struct | no declaration: type is approximate |
mOriginalMeshTranslation | struct | no declaration: type is approximate |
mRebuildCost | array<H7ResourceQuantity> | protected |
mRebuildEffect | ParticleSystem | |
mRebuildMats | array | no declaration: type is approximate |
mRebuildPercent | float | no declaration: type is approximate |
mRebuildSpeed | float | protected |
mSiegeDecorationList | array | no declaration: type is approximate |
mSiegeObstacleGate | DynLoadObject | no declaration: type is approximate |
mSiegeObstacleMoat | DynLoadObject | no declaration: type is approximate |
mSiegeObstacleTower | DynLoadObject | no declaration: type is approximate |
mSiegeObstacleWall | DynLoadObject | no declaration: type is approximate |
mVisitingHero | Object | no declaration: type is approximate |
Functions¶
| Name | Declaration |
|---|---|
CanAffordRebuild | function bool CanAffordRebuild(H7Player Player) |
CancelRebuild | private final function CancelRebuild() |
ConfirmRebuild | private final function ConfirmRebuild() |
ConfirmRebuildComplete | function ConfirmRebuildComplete() |
Conquer | function Conquer(H7AdventureHero conqueror) |
DelCombatMapGateRef | function DelCombatMapGateRef() |
DelCombatMapMoatRef | function DelCombatMapMoatRef() |
DelCombatMapTowerRef | function DelCombatMapTowerRef() |
DelCombatMapWallRef | function DelCombatMapWallRef() |
FinishDestruction | function FinishDestruction() |
FinishRebuilding | function FinishRebuilding() |
GetCombatMapDecoList | function array<H7EditorSiegeDecoration> GetCombatMapDecoList() |
GetCombatMapGate | function H7CombatMapGate GetCombatMapGate() |
GetCombatMapMoat | function H7CombatMapMoat GetCombatMapMoat() |
GetCombatMapName | function string GetCombatMapName() |
GetCombatMapTower | function H7CombatMapTower GetCombatMapTower() |
GetCombatMapWall | function H7CombatMapWall GetCombatMapWall() |
GetDestroyFX | function ParticleSystem GetDestroyFX() |
GetDestroyRotation | function Rotator GetDestroyRotation() |
GetDestroyRotationTime | function float GetDestroyRotationTime() |
GetDestroySpeed | function float GetDestroySpeed() |
GetEntityType | native function H7StructsAndEnumsNative.EUnitType GetEntityType() |
GetFXRebuildTime | function float GetFXRebuildTime() |
GetFXRuined | function ParticleSystem GetFXRuined() |
GetFXRuinedScale | function Vector GetFXRuinedScale() |
GetMaterialRuined | function MaterialInstanceConstant GetMaterialRuined() |
GetMeshRuined | function StaticMesh GetMeshRuined() |
GetMeshRuinedScale | function Vector GetMeshRuinedScale() |
GetRebuildCost | function array<H7ResourceQuantity> GetRebuildCost() |
GetRebuildFX | function ParticleSystem GetRebuildFX() |
GetRebuildSpeed | function float GetRebuildSpeed() |
GetTooltipData | function H7TooltipData GetTooltipData(optional bool extendedVersion) |
InitAdventureObject | event InitAdventureObject() |
IsRuined | function bool IsRuined() |
OnVisit | function OnVisit(out H7AdventureHero Hero) |
ProduceDayUnits | function ProduceDayUnits() |
SetNewName | function SetNewName(H7Faction newFaction) |
SetRuined | function SetRuined() |
SetSiteOwner | function SetSiteOwner(H7StructsAndEnumsNative.EPlayerNumber NewOwner, optional bool showPopup = true) |
SimpleDestruction | function SimpleDestruction() |
StartDestruction | function StartDestruction() |
StartRebuilding | function StartRebuilding() |
Tick | event Tick(float DeltaTime) |
UpdateMesh | function UpdateMesh() |
Visit | private final function Visit(out H7AdventureHero Hero) |
Default values¶
mMeshRuinedScale=(X=1.5000000,Y=1.5000000,Z=1.5000000)
mFXRuinedScale=(X=1.5000000,Y=1.5000000,Z=1.5000000)
mDestroySpeed=0.2500000
mDestroyRotation=(Pitch=728,Yaw=728,Roll=1092)
mDestroyRotationTimePct=0.5000000
mRebuildSpeed=0.2250000
mOriginalMeshScale=(X=1.0000000,Y=1.0000000,Z=1.0000000)
mOriginalFXScale=(X=1.0000000,Y=1.0000000,Z=1.0000000)
mOriginalFloatScale=1.0000000
mOriginalFXFloatScale=1.0000000