Skip to content

H7CombatMapTrap

Class in MMH7Game · MMH7Game.H7CombatMapTrap · native, perobjectconfig

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

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

Properties

NameTypeNotes
mDestroyAfterTriggeredboolprotected
mIsHiddenboolprotected

Functions

NameDeclaration
DelayedDestroyfunction DelayedDestroy()
HandleVisibilityfunction HandleVisibility()
Initsimulated function Init()
IsHiddensimulated function bool IsHidden()
PlaceObstaclesimulated function H7CombatObstacleObject PlaceObstacle(H7SiegeTownData siegeTownData, Vector SpawnLocation, optional Actor NewOwner)
PostBeginPlaysimulated event PostBeginPlay()
TriggerTrapsimulated function TriggerTrap()

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