H7CreatureStack¶
Class in MMH7Game · MMH7Game.H7CreatureStack · native, perobjectconfig
Object › Actor › SkeletalMeshActor › SkeletalMeshCinematicActor › SkeletalMeshActorMAT › H7Unit › H7CreatureStack
Implements: H7IGUIListenable
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mAiDamageMultiplier | int | |
mAmmo | int | protected |
mBaseCreatureStack | H7BaseCreatureStack | protected |
mBeginTurnRotation | Rotator | protected |
mCanBeRevived | bool | protected |
mCombatGridController | H7CombatMapGridController | protected |
mContainer | H7EventContainerStruct | protected |
mCoverDamageReduction | float | protected |
mCoverManager | H7UnitCoverManager | protected |
mCreature | H7Creature | protected |
mDelayedCommand | H7Command | protected |
mDescend | bool | protected |
mDescendFrom | int | |
mDivingAttackCurrentHeight | Vector | protected |
mDivingAttackMovementSpeed | float | protected |
mDivingAttackMovementSpeedDescend | float | protected |
mDivingAttackStartHeight | Vector | protected |
mDivingAttackTargetArea | array<H7CombatMapCell> | protected |
mDivingAttackTargetHeight | Vector | protected |
mDivingAttackTimer | float | protected |
mDoDivingParabola | bool | protected |
mEffect | H7Effect | protected |
mFadeInDiffuses | array<LinearColor> | protected |
mFadeInDone | bool | protected |
mFadeInEmissives | array<LinearColor> | protected |
mFadeInMICs | array<MaterialInstanceConstant> | protected |
mFadeInOpacities | array | protected |
mFadeInOpacityDone | bool | protected |
mFadeInTimerOpacity | float | protected |
mFadeInTimerWhite | float | protected |
mFadeInWhiteDone | bool | protected |
mFakeDeathDelay | float | protected |
mFlyForwardUnits | int | |
mFlyingSpeedModifier | float | protected |
mGhost | SkeletalMeshActor | protected |
mGhostMove | SkeletalMeshActor | protected |
mGhostMoveTargetLocation | Vector | protected |
mGhostMoveTargetRotation | Rotator | protected |
mGhostMoveTimer | float | protected |
mHasCoverFromEffects | bool | protected |
mHasDataChanged | bool | protected |
mHasMovedThisTurn | bool | protected |
mHasTargets | bool | protected |
mHitUnits | array<H7IEffectTargetable> | protected |
mHumanDamageMultiplier | int | |
mInitialStackSize | int | protected |
mIsAlliedPassable | bool | protected |
mIsBeingTeleported | bool | protected |
mIsDiving | bool | protected |
mIsOrphan | bool | protected |
mIsSummoned | bool | protected |
mIsVisible | bool | protected |
mKilled | bool | protected |
mMoveControl | H7CreatureStackMovementControl | protected |
mMovementSpeedModifier | float | protected |
mMovementType | H7StructsAndEnumsNative.EMovementType | protected |
mParabolaReachedZero | bool | protected |
mPathfinder | H7CombatMapPathfinder | protected |
mPlatoonCreatures | array<SkeletalMeshActorSpawnable> | protected |
mPreviousCell | H7BaseCell | protectedwrite |
mRestoreRotationAtEndTurn | bool | protected |
mRetaliatedBuff | H7BaseBuff | protected |
mSkipDeathAnim | bool | protected |
mStackColor | Color | protected |
mStackFX | H7CreatureStackFX | protected |
mStackSize | int | protected |
mStartRotation | Rotator | protected |
mStasisSourcesArray | array<H7BaseBuff> | protected |
mStrikeAndReturnReferenceCell | H7CombatMapCell | protected |
mSubstituteMoraleAbility | H7BaseAbility | protected |
mTargetCell | H7CombatMapCell | protected |
mTargetRotation | Rotator | protected |
mTopCreatureHealth | int | protected |
Functions¶
| Name | Declaration |
|---|---|
AddStasisBuff | function AddStasisBuff(H7BaseBuff buff) |
AfterStrikeAndReturnMove | function AfterStrikeAndReturnMove() |
ApplyBuff | function ApplyBuff(H7CombatResult Result, int resultIdx, bool isForecast, optional H7UnitSnapShot casterSnapshot) |
ApplyDamage | simulated function ApplyDamage(H7CombatResult Result, int resultIdx, bool isForecast, optional bool isRetaliation = false, optional bool raiseEvent = true) |
ApplyHeroArmyBonusBuff | function ApplyHeroArmyBonusBuff() |
AscendDone | function AscendDone() |
BeginTurn | function bool BeginTurn() |
BeRevived | function BeRevived(bool Value) |
BuryCreature | function BuryCreature() |
CallDataChanged | event CallDataChanged() |
CanBeResurrected | function bool CanBeResurrected() |
CanBeRevived | function bool CanBeRevived() |
CanDefend | function bool CanDefend() |
CanFly | function bool CanFly() |
CanGhostWalk | function bool CanGhostWalk() |
CanJump | function bool CanJump() |
canRangeAttack | function bool canRangeAttack() |
CanRetaliate | function bool CanRetaliate() |
CanTeleport | function bool CanTeleport() |
CouldRetaliate | function bool CouldRetaliate() |
CountDeadCreatures | function int CountDeadCreatures() |
CreateDecay | function CreateDecay() |
CreateGhost | function CreateGhost(H7CombatMapCell destinationCell, optional Rotator Rot, optional bool showGhostMove, optional float ghostOpacity = 0.3500000) |
CreateGUIOverlay | function CreateGUIOverlay() |
DataChanged | function DataChanged(optional string cause) |
DebugLogSelf | protected function DebugLogSelf() |
Defend | function Defend() |
DehighlightStack | event DehighlightStack() |
DestroyCreatureStack | function DestroyCreatureStack() |
DestroyGhost | function DestroyGhost() |
DoDivingAttackFlying | function DoDivingAttackFlying(int targetHeight, int fwd, float Speed, bool doParabola, bool exAscendDone, bool exDoneEverything, H7Effect sourceEffect) |
DoMoralRoll | function H7StructsAndEnums.EMoraleType DoMoralRoll() |
DoneEverything | function DoneEverything() |
DoRestoreRotationAfterTurn | function DoRestoreRotationAfterTurn() |
EndMoving | function EndMoving(optional bool ignoreTargetNotReachedMessage = true) |
EndTurn | function EndTurn() |
ExecuteDivingAttackReappear | function ExecuteDivingAttackReappear(H7Effect Effect, H7EventContainerStruct container, float Speed, float descendSpeed, int descendFrom, int flyForward) |
FaceTarget | function FaceTarget(H7IEffectTargetable Target) |
GetAmmo | function int GetAmmo() |
GetAttackPowerRelation | native function float GetAttackPowerRelation(bool capOrFloor) |
GetAttackRange | function H7StructsAndEnumsNative.EAttackRange GetAttackRange() |
GetAttackType | function H7StructsAndEnumsNative.EAttackType GetAttackType() |
GetBaseCreatureHealth | function int GetBaseCreatureHealth() |
GetBaseCreatureStack | function H7BaseCreatureStack GetBaseCreatureStack() |
GetBaseCreatureStackDereferenced | function H7BaseCreatureStack GetBaseCreatureStackDereferenced() |
GetBaseInitiative | function int GetBaseInitiative() |
GetCell | event H7CombatMapCell GetCell() |
GetCellDistanceToCreature | function int GetCellDistanceToCreature(H7CreatureStack targetStack, bool useMasterCells) |
GetCoverManager | function H7UnitCoverManager GetCoverManager() |
GetCreature | function H7Creature GetCreature() |
GetCurrentMoral | function int GetCurrentMoral() |
GetDamagePotential | native function int GetDamagePotential(optional int StackSize = -1, optional int attackAddition = 0) |
GetDamageResult | native function GetDamageResult(int dmg, bool didMiss, out int TopCreatureHealth, out int StackSize) |
GetDefendAbility | function H7BaseAbility GetDefendAbility() |
GetDivingAttackArea | function array<H7CombatMapCell> GetDivingAttackArea() |
GetEntityType | native function H7StructsAndEnumsNative.EUnitType GetEntityType() |
GetFlashIconPath | function string GetFlashIconPath() |
GetFloatingTextLocation | function Vector GetFloatingTextLocation() |
GetFlyingSpeed | function float GetFlyingSpeed() |
GetFXScale | function float GetFXScale() |
GetGridPosition | function IntPoint GetGridPosition() |
GetHeight | function float GetHeight() |
GetHeightPos | function Vector GetHeightPos(float Offset) |
GetHitPoints | native function int GetHitPoints() |
GetHitpointsTotal | function int GetHitpointsTotal() |
GetInitialStackSize | function int GetInitialStackSize() |
GetLuck | function int GetLuck() |
GetLuckAbility | function H7BaseAbility GetLuckAbility() |
GetMaxHitpointsTotal | function int GetMaxHitpointsTotal() |
GetMaximumDamage | event float GetMaximumDamage() |
GetMeleeAttackAbility | native function H7BaseAbility GetMeleeAttackAbility() |
GetMeshCenter | native function Vector GetMeshCenter() |
GetMeshComponent | native function SkeletalMeshComponent GetMeshComponent() |
GetMinimumDamage | event float GetMinimumDamage() |
GetModifiersByID | native function GetModifiersByID(out array<H7MeModifiesStat> outStats, H7StructsAndEnumsNative.EStat desiredStat, optional H7StructsAndEnumsNative.EOperationType exclusiveFirstOT = 255, optional H7StructsAndEnumsNative.EOperationType exclusiveSecondOT = 255, optional bool nextRound) |
GetMoralAbility | function H7BaseAbility GetMoralAbility() |
GetMorale | function int GetMorale() |
GetMovementControl | function H7CreatureStackMovementControl GetMovementControl() |
GetMovementPoints | native function int GetMovementPoints() |
GetMovementSpeed | function float GetMovementSpeed() |
GetMovementType | function H7StructsAndEnumsNative.EMovementType GetMovementType() |
GetName | function string GetName() |
GetNeighbourCells | function array<H7CombatMapCell> GetNeighbourCells() |
GetNeighbourFriendlyStacks | function array<H7CreatureStack> GetNeighbourFriendlyStacks(optional H7CombatHero Hero = none) |
GetNeighbourHostileStacks | function array<H7CreatureStack> GetNeighbourHostileStacks(optional H7CombatHero Hero = none) |
GetPathfinder | function H7CombatMapPathfinder GetPathfinder() |
GetPlatoonCreatures | function array<SkeletalMeshActorSpawnable> GetPlatoonCreatures() |
GetProjectileStartSocketName | function name GetProjectileStartSocketName() |
GetRangedAttackAbility | native function H7BaseAbility GetRangedAttackAbility() |
GetRetaliatedBuff | function H7BaseBuff GetRetaliatedBuff() |
GetRetaliationAbility | function H7BaseAbility GetRetaliationAbility() |
GetRetaliationOverrideMelee | function H7BaseAbility GetRetaliationOverrideMelee() |
GetRetaliationOverrideRanged | function H7BaseAbility GetRetaliationOverrideRanged() |
GetSchool | function H7StructsAndEnumsNative.EAbilitySchool GetSchool() |
GetSkipDeathAnim | function bool GetSkipDeathAnim() |
GetSkipTurnAbility | function H7BaseAbility GetSkipTurnAbility() |
GetSocketLocation | native function Vector GetSocketLocation(name SocketName) |
GetStackColor | function Color GetStackColor() |
GetStackSize | function int GetStackSize() |
GetStackSizeObfuscated | function string GetStackSizeObfuscated() |
GetStasisBuff | function H7BaseBuff GetStasisBuff() |
GetSuppressedStacks | function array<H7CreatureStack> GetSuppressedStacks() |
GetTopCreatureHealth | function int GetTopCreatureHealth() |
GetToughness | native function int GetToughness(optional int StackSize = -1, optional int defenseAddition = 0) |
GetUnitBaseSize | native function H7StructsAndEnumsNative.ECellSize GetUnitBaseSize() |
GetUnitBaseSizeInt | function int GetUnitBaseSizeInt() |
GetWaitAbility | function H7BaseAbility GetWaitAbility() |
GUIAddListener | function GUIAddListener(GFxObject Data, optional H7StructsAndEnums.H7ListenFocus Focus) |
GUIWriteInto | function GUIWriteInto(GFxObject Data, optional H7StructsAndEnums.H7ListenFocus Focus, optional H7GFxUIContainer flashFactory) |
HasCoverFromEffects | function bool HasCoverFromEffects() |
HasDataChanged | function bool HasDataChanged() |
HasDelayedCommand | function bool HasDelayedCommand() |
HasMovedThisTurn | function bool HasMovedThisTurn() |
HasStasisBuff | function bool HasStasisBuff(H7BaseBuff buff) |
Heal | function Heal(int healAmount) |
Hide | function Hide(optional bool removeFromCell = true) |
HideSlotFX | function HideSlotFX(H7CombatMapCell myCell) |
HideStackFX | function HideStackFX() |
HighlightStack | function HighlightStack(optional bool evenIfBusy = false) |
Init | function Init(optional bool fromSave) |
InitStackFX | protected function InitStackFX() |
IsAlliedPassable | function bool IsAlliedPassable() |
IsBeingTeleported | function bool IsBeingTeleported() |
IsDead | native function bool IsDead() |
IsDying | event bool IsDying() |
IsFlankable | function bool IsFlankable() |
IsFullFullFlankable | function bool IsFullFullFlankable() |
IsInStasis | native function bool IsInStasis() |
IsInWaitQueue | function bool IsInWaitQueue() |
IsMoving | function bool IsMoving() |
IsOffGrid | native function bool IsOffGrid() |
IsOrphan | function bool IsOrphan() |
IsRanged | function bool IsRanged() |
IsSummoned | function bool IsSummoned() |
IsVisible | function bool IsVisible() |
Kill | function Kill() |
LerpFadeIn | function LerpFadeIn(float DeltaTime) |
LerpGhostMove | function LerpGhostMove(float DeltaTime) |
ModifyAttack | function ModifyAttack(int toAdd) |
ModifyDefense | function ModifyDefense(int toAdd) |
ModifyLuck | function ModifyLuck(int toAdd) |
ModifyMorale | function ModifyMorale(int toAdd) |
MoveCreature | function MoveCreature(array<H7BaseCell> Path, optional H7IEffectTargetable Target) |
OnDivingAttackFlyingFinished | delegate OnDivingAttackFlyingFinished() |
OnDivingAttackParabolaHit | function OnDivingAttackParabolaHit() |
OnFaceTargetFinishedFunc | delegate OnFaceTargetFinishedFunc() |
ParabolaLerp | function Vector ParabolaLerp(Vector Start, float CurrentTime, out Rotator currRot) |
PlaceOwnerOnCell | function PlaceOwnerOnCell(H7CombatMapCell cell, bool hasTargets) |
PlayRandomlyDelayedVictoryAnim | function PlayRandomlyDelayedVictoryAnim() |
PlayVictoryAnim | function PlayVictoryAnim() |
PostResurrection | function PostResurrection(bool wasDead, int finalHealAmount, int stackResurrection) |
QuickResurrect | function QuickResurrect(int amountResurrected) |
RemoveCreature | function RemoveCreature() |
RemoveCreatureFromCell | function RemoveCreatureFromCell() |
RemoveFirstStasisBuff | function RemoveFirstStasisBuff() |
RemoveStackFromGrid | function RemoveStackFromGrid(optional bool removeFromCell = true) |
RemoveStasisBuff | function RemoveStasisBuff(H7BaseBuff buff) |
ResetHasDataChanged | function ResetHasDataChanged() |
RestoreRotation | function RestoreRotation() |
Resurrection | function int Resurrection(int totalHeal, optional bool wasDead, optional bool preCalc, optional H7CombatResult Result, optional int resultIdx, optional bool onlyHeal = false) |
SetAiDamageMultiplier | native function SetAiDamageMultiplier() |
SetAlliedPassable | function SetAlliedPassable(bool val) |
SetAmmo | function SetAmmo(int Ammo) |
SetBaseCreatureStack | function SetBaseCreatureStack(H7BaseCreatureStack BaseStack) |
SetCreature | function SetCreature(H7Creature Creature) |
SetDead | function SetDead(optional H7CombatResult Result) |
SetDelayedCommand | function SetDelayedCommand(H7Command comm) |
SetDivingAttackArea | function SetDivingAttackArea(array<H7CombatMapCell> area) |
SetFakeDeathDelay | function SetFakeDeathDelay(float Seconds) |
SetFlankability | function SetFlankability(bool Value) |
SetFlyingSpeedModifier | function SetFlyingSpeedModifier(float Speed) |
SetFullFlankability | function SetFullFlankability(bool Value) |
SetGridPosition | event SetGridPosition(IntPoint gp) |
SetHasCoverFromEffects | function SetHasCoverFromEffects(bool val) |
SetHumanDamageMultiplier | native function SetHumanDamageMultiplier() |
SetInitialStackSize | function SetInitialStackSize(int Size) |
SetIsBeingTeleported | function SetIsBeingTeleported(bool val) |
SetIsSummoned | function SetIsSummoned(bool val) |
SetLuck | function SetLuck(int Luck) |
SetMorale | function SetMorale(int moral) |
SetMovedThisTurn | native function SetMovedThisTurn(bool val) |
SetMovementSpeedModifier | function SetMovementSpeedModifier(float Speed) |
SetMovementType | function SetMovementType(H7StructsAndEnumsNative.EMovementType Type) |
SetOrphan | function SetOrphan(bool val) |
SetSkipDeathAnim | function SetSkipDeathAnim(bool doSkip) |
SetStackColor | function SetStackColor(Color Value) |
SetStackLocation | event SetStackLocation(Vector pos, optional float HeightOffset) |
SetStackSize | native function SetStackSize(int StackSize) |
SetStrikeAndReturnCell | function SetStrikeAndReturnCell(H7CombatMapCell cell) |
SetSubstitutionMoraleAbility | function SetSubstitutionMoraleAbility(H7BaseAbility Ability) |
SetTopCreatureHealth | function SetTopCreatureHealth(int Value) |
ShouldRestoreRotationAfterTurn | function bool ShouldRestoreRotationAfterTurn() |
show | function show(optional bool addToCell = true) |
ShowCemetary | function ShowCemetary(optional bool Value) |
ShowCreatureRemains | function ShowCreatureRemains() |
ShowSlotFXActive | protected function ShowSlotFXActive(H7CombatMapCell myCell) |
ShowSlotFXAlly | protected function ShowSlotFXAlly(H7CombatMapCell myCell, bool isHovering) |
ShowSlotFXDeadAlly | protected function ShowSlotFXDeadAlly(H7CombatMapCell myCell, bool isHovering) |
ShowSlotFXEnemy | protected function ShowSlotFXEnemy(H7CombatMapCell myCell, bool isHovering) |
ShowStackFXActive | function ShowStackFXActive() |
ShowStackFXAlly | function ShowStackFXAlly() |
ShowStackFXEnemy | function ShowStackFXEnemy() |
SpawnCreature | function SpawnCreature(H7Creature Template) |
StackHeading | function H7StructsAndEnums.Orientation StackHeading() |
StartDelayedCommand | function StartDelayedCommand() |
StartFadeIn | function StartFadeIn() |
Tick | event Tick(float DeltaTime) |
TurnChanged | function TurnChanged() |
TurnToSelectedRotation | function TurnToSelectedRotation(Rotator Rot) |
UpdateAbilitySlotFX | protected function UpdateAbilitySlotFX(H7CombatMapCell myCell, H7BaseAbility preparedAbility, bool isHovering) |
UpdateSlotFX | function UpdateSlotFX(bool isHovering) |
UseAmmo | function UseAmmo() |
UsesAmmo | function bool UsesAmmo() |
Default values¶
mFadeInDone=true
mIsVisible=true
mContainer=(Targetable=none,TargetableTargets=none,ActionTag=none,ActionSchool=EAbilitySchool.MIGHT,EffectContainer=none,Action=ECommandTag.None,Path=none,Result=none,Amount=1)
mAiDamageMultiplier=1
mHumanDamageMultiplier=1
mInitialStackSize=1
mStackSize=1
mMovementSpeedModifier=1.0000000
mFlyingSpeedModifier=1.0000000