Skip to content

H7CombatObstacleFracturedObject

Class in MMH7Game · MMH7Game.H7CombatObstacleFracturedObject · native, perobjectconfig

Object › Actor › SkeletalMeshActor › SkeletalMeshCinematicActor › SkeletalMeshActorMAT › H7EditorMapObject › H7CombatObstacleObject › H7CombatObstacleFracturedObject

Subclasses: H7CombatMapGate, H7CombatMapTower, H7CombatMapWall

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

Properties

NameTypeNotes
mFallingPiecesFXParticleSystemComponentprotected
mFallingPiecesFXArchetypeParticleSystemprotected
mFracturedStaticMeshArchetypeFracturedStaticMeshActor_Spawnableprotected
mImpulseRadiusDestroyedfloatprotected
mImpulseRadiusNormalfloatprotected
mImpulseStrengthfloatprotected
mLastImpactPosVectorprotected
mSpawnedFracturedMeshActorFracturedStaticMeshActor_Spawnableprotected

Functions

NameDeclaration
ApplyDamagesimulated function ApplyDamage(H7CombatResult Result, int resultIdx, bool isForecast, optional bool isRetaliation = false, optional bool raiseEvent = true)
GetHeightsimulated function float GetHeight()
GetHeightPossimulated function Vector GetHeightPos(float Offset)
GetProjectileImpactPossimulated function Vector GetProjectileImpactPos()
Initsimulated function Init()
RemoveTopPiecessimulated function RemoveTopPieces()
SetVisibilitysimulated function SetVisibility(bool show)
ToggleVisibilitysimulated function ToggleVisibility()

Inherited

FromMembers
H7CombatObstacleObjectProperties: mAbilities, mAbilityManager, mApplyCover, mBaseSizeX, mBaseSizeY, mBuffManager, mCorners, mCurrentHitpoints, mCurrentPath, mCurrentTargetCell, mDestroySound, mDestructible, mEffectManager, mEventManager, mGridPos, mHitpoints, mHitSound, Mid, mIdleSound, mIsHovering, mIsSiegeMachineTarget, mKillActorWhenDestroyed, mMaximumDamage, mMinimumDamage, mMoveSound, mMoveTimer, mObstacleName, mObstacleNameInst, mOnlySpawnIfMoats, mPlayer, mPreviewBox, mRemoveWhenDestroyed, mShowPreviewBox, mType
Functions: ApplyDamage, DataChanged, DehighlightObstacle, Destroyed, EndMoving, GetAbilityManager, GetActionID, GetAttack, GetBuffManager, GetCells, GetCombatArmy, GetCorners, GetEffectManager, GetEntityType, GetEventManager, GetFloatingTextLocation, GetGridPos, GetGridPosition, GetHeight, GetHeightPos, GetHitPoints, GetID, GetLevel, GetLocation, GetLuckDestiny, GetMagic, GetMaxHitpoints, GetMaximumDamage, GetMeshCenter, GetMeshComponent, GetMinimumDamage, GetMoveSound, GetName, GetObstacleBaseSizeX, GetObstacleBaseSizeY, GetObstacleType, GetOriginal, GetPlayer, GetPreparedAbility, GetProjectileImpactPos, GetResistanceModifierFor, GetSchool, GetStackSize, GUIAddListener, GUIWriteInto, HighlightObstacle, Init, IsApplyCover, IsDefaultAttackActive, IsDestructible, isHovering, IsMoving, IsSiegeMachineTarget, KillObstacle, LerpMove, LocalizeName, ModifyHitpoints, PlaceObstacle, PostBeginPlay, PrepareAbility, SetAbilities, SetDestructible, SetGridPos, SetIsHovering, SetMaximumDamage, SetMinimumDamage, SetPath, SetPlayer, Tick, TriggerEvents, UsePreparedAbility
H7EditorMapObjectProperties: AnimNodeSeqComp, mDynamicLightEnv, mFX, mHideMeshAndFX, mMesh, mShouldOutlineSkelMesh, mSnapToGroundType, mSnapType, mTerrainOffset
Functions: GetFX, GetMesh, GetMeshComp, SetMesh, SetShouldHideMeshAndFX, SetVisibility, ToggleVisibility
SkeletalMeshActorMAT1 properties, 13 functions
SkeletalMeshCinematicActor0 properties, 0 functions
SkeletalMeshActor15 properties, 28 functions
Actor156 properties, 262 functions
Object13 properties, 308 functions