Skip to content

H7DestructibleObjectManipulator

Class in MMH7Game · MMH7Game.H7DestructibleObjectManipulator · native, perobjectconfig

Object › Actor › SkeletalMeshActor › SkeletalMeshCinematicActor › SkeletalMeshActorMAT › H7EditorMapObject › H7AdventureObject › H7VisitableSite › H7NeutralSite › H7DestructibleObjectManipulator

Implements: H7ITooltipable, H7IHideable

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

Properties

NameTypeNotes
mCostsarray<H7ResourceQuantity>protected
mDestroyDurationintprotected
mDestructionCostsarray<H7ResourceQuantity>protected
mDisableCameraEventboolprotected
mDisableRepairboolprotected
mHideDestroyTooltipboolprotected
mHideRepairTooltipboolprotected
mInformedGUIboolprotected
mIsDestroyedboolprotected
mIsDestroyingboolprotected
mIsHiddenboolprotected
mIsRepairingboolprotected
mKeepMovementPointsOnDestroyboolprotected
mManipulationCounterintprotectedwrite
mManipulationInitiatedboolprotected
mManipulatorsarray<H7DestructibleObjectManipulator>
mRepairDurationintprotected
mTargetDestructiblesarray<H7IDestructible>protected
mTargetObjectsarray<H7GameplayFracturedMeshActor>protected
TT_DESTROYstringtransient, private
TT_DESTROY_DESCstringtransient, private
TT_REPAIRstringtransient, private
TT_REPAIR_DESCstringtransient, private
TT_TURNSstringtransient, private

Functions

NameDeclaration
AbortManipulationstatic function AbortManipulation(H7AdventureArmy Army)
AbortMyManipulationfunction AbortMyManipulation()
AddDestructibleObjectfunction AddDestructibleObject(H7GameplayFracturedMeshActor Obj)
AddDestructibleObjectByInterfacefunction AddDestructibleObjectByInterface(H7IDestructible Obj)
BeginCountDownfunction BeginCountDown()
CanBeDestroyedfunction bool CanBeDestroyed(H7AdventureHero Hero)
CanBeRepairedfunction bool CanBeRepaired(H7AdventureHero Hero)
CheckHUDfunction CheckHUD()
CountDownfunction CountDown()
CountDownForAllstatic function CountDownForAll()
GetObjectByArmystatic function H7DestructibleObjectManipulator GetObjectByArmy(H7AdventureArmy Army)
GetProgressPercentfunction int GetProgressPercent()
GetTooltipDatafunction H7TooltipData GetTooltipData(optional bool extendedVersion)
GetVisitingArmyfunction H7AdventureArmy GetVisitingArmy()
Hidefunction Hide()
InitAdventureObjectevent InitAdventureObject()
IsHiddenXnative function bool IsHiddenX()
IsManipulationInitiatedfunction bool IsManipulationInitiated()
Leaveprotected function Leave()
ManipulateObjectsprotected function ManipulateObjects()
OnVisitfunction OnVisit(out H7AdventureHero Hero)
PostSerializeevent PostSerialize()
RebuildStatusfunction RebuildStatus()
Revealfunction Reveal()
SetVisitingArmyevent SetVisitingArmy(H7AdventureArmy Army)
StartDestructionOrReparationfunction StartDestructionOrReparation()
StartDestructionOrReparationCompletefunction StartDestructionOrReparationComplete()
ViewObjectsfunction ViewObjects()

Default values

mRepairDuration=1
mDestroyDuration=1

Inherited

FromMembers
H7NeutralSiteProperties: mArmy, mEditorArmy, mGuardingArmy, mHasMinimapIcon, mOnVisitSound
Functions: GetArmy, GetFlashMinimapPath, GetGarrisonArmy, GetGuardingArmy, GetHasMinimap, GetMinimapIcon, GetNotVisitedColor, GetSite, GetVisitedColor, InitAdventureObject, IsNeutral, OnVisit, RenderDebugInfo, SetArmy, SetGarrisonArmy, SetGuardingArmy, SpawnGarrisonedArmy, SpendPickupCostsOnVisit
H7VisitableSiteProperties: mAbilityManager, mAdventureController, mAiBaseUtility, mAiOnIgnore, mBuffFlags, mBuffManager, mCliffMat, mClusterRef, mCustomNameInst, mEffectManager, mEntranceCell, mEntranceOffset, mEntranceSprite, mEventManager, mGlobalName, mHeroEventParam, mInitDone, mInitNameDone, mIsUnblockingEntrance, mLandscape, mLayer, mMinimapColor, mMinimapHidden, mMinimapIcon, mName, mQuestFlag, mReachabilityCheckDone, mSavedLocation, mSavedRotation, mUseCustomName, mVisitingArmy
Functions: AdaptToLandscape, AddBuffFlag, AddQuestFlag, AddSelfToMinimap, ApplyDamage, ClearQuestFlag, DataChanged, Destroyed, GetAbilityManager, GetActionID, GetAiBaseUtility, GetAiOnIgnore, GetAttack, GetBuffFlags, GetBuffManager, GetColor, GetCombatArmy, GetCurrentPosition, GetCustomName, GetEffectManager, GetEntityType, GetEntranceCell, GetEntranceOffset, GetEventManager, GetFlashMinimapPath, GetGridPosition, GetHasMinimap, GetHeightAsVector, GetHitPoints, GetID, GetLocation, GetLuckDestiny, GetMagic, GetMaximumDamage, GetMinimapColor, GetMinimapHidden, GetMinimapIcon, GetMinimumDamage, GetName, GetOriginal, GetPlayer, GetPreparedAbility, GetResistanceModifierFor, GetSchool, GetStackSize, GetVisitingArmy, GetVisitString, GetWorldEntranceNative, GUIAddListener, GUIWriteInto, InitAdventureObject, IsDefaultAttackActive, IsHidden, IsMovable, IsNeutral, IsUnblockingEntrance, LocalizeCustomName, NotifyVisit, OnTerrainChange, OnVisit, OverrideName, PostSerialize, PrepareAbility, ReorderBuffFlags, SetAiOnIgnore, SetAiUtilityValue, SetMinimapColor, SetMinimapHidden, SetName, SetVisitingArmy, SpendPickupCostsOnVisit, TriggerEvents, UnregisterEventManageable, UsePreparedAbility
H7AdventureObjectProperties: frameCount, mFloatRotationIntensity, mFloatSwayIntensity, Mid, mIsFloating, mOriginalLocation, mPassabilityType
Functions: AddQuestFlag, ClearQuestFlag, GetCellsUnderMe, GetCurrentPosition, GetName, GetQuestTargetID, InitAdventureObject, IsFloating, IsHidden, IsMovable, OnDoubleClick, OnLeftClick, OnRightClick, OnVisit, PostBeginPlay, ReferenceSelfToCells, SetFloating, UpdateFloating
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