H7CombatObstacleObject¶
Class in MMH7Game · MMH7Game.H7CombatObstacleObject · native, perobjectconfig
Object › Actor › SkeletalMeshActor › SkeletalMeshCinematicActor › SkeletalMeshActorMAT › H7EditorMapObject › H7CombatObstacleObject
Implements: H7IGUIListenable, H7IEffectTargetable, H7ICaster, H7IAliasable
Subclasses: H7CombatMapMoat, H7CombatMapTrap, H7CombatObstacleFracturedObject
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mAbilities | array<H7BaseAbility> | protected |
mAbilityManager | H7AbilityManager | protected |
mApplyCover | bool | protected |
mBaseSizeX | int | protected |
mBaseSizeY | int | protected |
mBuffManager | H7BuffManager | protected |
mCorners | array<Vector> | protected |
mCurrentHitpoints | int | protected |
mCurrentPath | array<H7BaseCell> | protected |
mCurrentTargetCell | H7BaseCell | protected |
mDestroySound | AkEvent | protected |
mDestructible | bool | protected |
mEffectManager | H7EffectManager | protected |
mEventManager | H7EventManager | protected |
mGridPos | IntPoint | protected |
mHitpoints | int | protected |
mHitSound | AkEvent | protected |
Mid | int | protected |
mIdleSound | AkEvent | protected |
mIsHovering | bool | protected |
mIsSiegeMachineTarget | bool | protected |
mKillActorWhenDestroyed | bool | protected |
mMaximumDamage | float | protected |
mMinimumDamage | float | protected |
mMoveSound | AkEvent | protected |
mMoveTimer | float | protected |
mObstacleName | string | const, localized, protected |
mObstacleNameInst | string | transient, protected |
mOnlySpawnIfMoats | bool | |
mPlayer | H7Player | protected |
mPreviewBox | DrawBoxComponent | protected |
mRemoveWhenDestroyed | bool | protected |
mShowPreviewBox | bool | protected |
mType | H7StructsAndEnumsNative.EObstacleType | protected |
Functions¶
| Name | Declaration |
|---|---|
ApplyDamage | simulated function ApplyDamage(H7CombatResult Result, int resultIdx, bool isForecast, optional bool isRetaliation = false, optional bool raiseEvent = true) |
DataChanged | simulated function DataChanged(optional string caller) |
DehighlightObstacle | simulated function DehighlightObstacle() |
Destroyed | simulated event Destroyed() |
EndMoving | function EndMoving() |
GetAbilityManager | native function H7AbilityManager GetAbilityManager() |
GetActionID | function H7StructsAndEnumsNative.ECommandTag GetActionID(H7BaseAbility Ability) |
GetAttack | event int GetAttack() |
GetBuffManager | native function H7BuffManager GetBuffManager() |
GetCells | simulated event array<H7CombatMapCell> GetCells() |
GetCombatArmy | native function H7CombatArmy GetCombatArmy() |
GetCorners | native simulated function array<Vector> GetCorners() |
GetEffectManager | function H7EffectManager GetEffectManager() |
GetEntityType | native function H7StructsAndEnumsNative.EUnitType GetEntityType() |
GetEventManager | native function H7EventManager GetEventManager() |
GetFloatingTextLocation | function Vector GetFloatingTextLocation() |
GetGridPos | simulated function IntPoint GetGridPos() |
GetGridPosition | native function IntPoint GetGridPosition() |
GetHeight | simulated function float GetHeight() |
GetHeightPos | simulated function Vector GetHeightPos(float Offset) |
GetHitPoints | simulated function int GetHitPoints() |
GetID | native simulated function int GetID() |
GetLevel | simulated function H7StructsAndEnumsNative.EObstacleLevel GetLevel() |
GetLocation | native function Vector GetLocation() |
GetLuckDestiny | native function int GetLuckDestiny() |
GetMagic | event int GetMagic() |
GetMaxHitpoints | simulated function int GetMaxHitpoints() |
GetMaximumDamage | event float GetMaximumDamage() |
GetMeshCenter | native simulated function Vector GetMeshCenter() |
GetMeshComponent | native simulated function StaticMeshComponent GetMeshComponent() |
GetMinimumDamage | event float GetMinimumDamage() |
GetMoveSound | function AkEvent GetMoveSound() |
GetName | function string GetName() |
GetObstacleBaseSizeX | native simulated function int GetObstacleBaseSizeX() |
GetObstacleBaseSizeY | native simulated function int GetObstacleBaseSizeY() |
GetObstacleType | simulated function H7StructsAndEnumsNative.EObstacleType GetObstacleType() |
GetOriginal | native function H7ICaster GetOriginal() |
GetPlayer | native function H7Player GetPlayer() |
GetPreparedAbility | function H7BaseAbility GetPreparedAbility() |
GetProjectileImpactPos | function Vector GetProjectileImpactPos() |
GetResistanceModifierFor | native function float GetResistanceModifierFor(H7StructsAndEnumsNative.EAbilitySchool school, array<H7StructsAndEnumsNative.ESpellTag> tags, optional bool checkOnlyBuffs = false, optional bool forcedResistanceOnly = false) |
GetSchool | event H7StructsAndEnumsNative.EAbilitySchool GetSchool() |
GetStackSize | function int GetStackSize() |
GUIAddListener | simulated function GUIAddListener(GFxObject Data, optional H7StructsAndEnums.H7ListenFocus Focus) |
GUIWriteInto | simulated function GUIWriteInto(GFxObject Data, optional H7StructsAndEnums.H7ListenFocus Focus, optional H7GFxUIContainer flashFactory) |
HighlightObstacle | simulated function HighlightObstacle() |
Init | simulated function Init() |
IsApplyCover | event bool IsApplyCover() |
IsDefaultAttackActive | native function bool IsDefaultAttackActive() |
IsDestructible | simulated function bool IsDestructible() |
isHovering | simulated function bool isHovering() |
IsMoving | function bool IsMoving() |
IsSiegeMachineTarget | simulated function bool IsSiegeMachineTarget() |
KillObstacle | function KillObstacle() |
LerpMove | function LerpMove(float DeltaTime) |
LocalizeName | function LocalizeName() |
ModifyHitpoints | simulated function ModifyHitpoints(int modval) |
PlaceObstacle | simulated function H7CombatObstacleObject PlaceObstacle(H7SiegeTownData siegeTownData, Vector SpawnLocation, optional Actor NewOwner) |
PostBeginPlay | simulated event PostBeginPlay() |
PrepareAbility | function PrepareAbility(H7BaseAbility Ability) |
SetAbilities | function SetAbilities(array<H7BaseAbility> Abilities) |
SetDestructible | function SetDestructible(bool val) |
SetGridPos | simulated function SetGridPos(IntPoint gp) |
SetIsHovering | simulated function SetIsHovering(bool isHovering) |
SetMaximumDamage | function SetMaximumDamage(float val) |
SetMinimumDamage | function SetMinimumDamage(float val) |
SetPath | function SetPath(array<H7BaseCell> Path) |
SetPlayer | function SetPlayer(H7Player dasPlayer) |
Tick | event Tick(float DeltaTime) |
TriggerEvents | simulated function TriggerEvents(H7StructsAndEnumsNative.ETrigger triggerEvent, bool forecast, optional H7EventContainerStruct container) |
UsePreparedAbility | simulated function UsePreparedAbility(H7IEffectTargetable Target) |
Default values¶
Inherited¶
| From | Members |
|---|---|
| H7EditorMapObject | Properties: AnimNodeSeqComp, mDynamicLightEnv, mFX, mHideMeshAndFX, mMesh, mShouldOutlineSkelMesh, mSnapToGroundType, mSnapType, mTerrainOffset Functions: GetFX, GetMesh, GetMeshComp, SetMesh, SetShouldHideMeshAndFX, SetVisibility, ToggleVisibility |
| SkeletalMeshActorMAT | 1 properties, 13 functions |
| SkeletalMeshCinematicActor | 0 properties, 0 functions |
| SkeletalMeshActor | 15 properties, 28 functions |
| Actor | 156 properties, 262 functions |
| Object | 13 properties, 308 functions |