H7RandomCreatureStack¶
Class in MMH7Game · MMH7Game.H7RandomCreatureStack · native
Object › Actor › SkeletalMeshActor › SkeletalMeshCinematicActor › SkeletalMeshActorMAT › H7EditorMapObject › H7AdventureObject › H7RandomCreatureStack
Implements: H7IRandomSpawnable
Using it from Lua
Constants¶
| Name | Value |
|---|---|
MAX_BIG_CREATURE_STACKS | 4 |
Properties¶
| Name | Type | Notes |
|---|---|---|
mAiIsBorderControl | bool | protected |
mAiOnIgnore | bool | protected |
mAllowedFactions | array<H7Faction> | protected |
mAllowedLevels | H7BooleanStruct[ECreatureLevel] | protected |
mChooseRandomCreatures | bool | protected |
mChooseSameFaction | bool | protected |
mCreatureUpgrades | H7StructsAndEnumsNative.EArmyCompositionType | protected |
mDiplomaticDisposition | H7StructsAndEnumsNative.EDispositionType | protected |
mDispositionTowardsPlayers | array<H7StructsAndEnumsNative.EPlayerNumber> | protected |
mFactionType | H7StructsAndEnumsNative.ERandomSiteFaction | protected |
mGrowthratePercent | int | protected |
mLimitLevelsFromXP | bool | protected |
mMaxStackNumber | int | protected |
mMaxStackSize | int | protected |
mMinStackNumber | int | protected |
mMinStackSize | int | protected |
mOverridenRandomIndex | int | protected |
mOverrideRandomIndex | bool | protected |
mPlayerNumber | H7StructsAndEnumsNative.EPlayerNumber | protected |
mReferenceLord | H7AreaOfControlSiteLord | protected |
mUseCreatureLevel | bool | protected |
mUseXPStrength | bool | protected |
mXPStrength | int | protected |
Functions¶
| Name | Declaration |
|---|---|
AddRandomCreaturestackToArmy | static native function AddRandomCreaturestackToArmy(H7AdventureArmy Army, H7Faction Faction, int Amount, optional H7StructsAndEnumsNative.ECreatureTier Tier = 3) |
DisposeShell | event DisposeShell() |
GetChosenFaction | event H7Faction GetChosenFaction() |
GetFactionType | function H7StructsAndEnumsNative.ERandomSiteFaction GetFactionType() |
HatchRandomCreatureStack | native function H7AdventureArmy HatchRandomCreatureStack() |
HatchRandomSpawnable | event HatchRandomSpawnable() |
InitFromStruct | function InitFromStruct(RandomLordDefenseData Data) |
RegisterArmy | protected event RegisterArmy(H7AdventureArmy Army) |
SetFactionType | native function SetFactionType(H7StructsAndEnumsNative.ERandomSiteFaction factionType) |
SetRandomPlayerNumber | native function SetRandomPlayerNumber(H7StructsAndEnumsNative.EPlayerNumber Number) |
Default values¶
mFactionType=ERandomSiteFaction.E_H7_RSF_RANDOM
mMinStackNumber=1
mMaxStackNumber=7
mUseXPStrength=true
mAllowedLevels[0]=(Allowed=true)
mAllowedLevels[1]=(Allowed=true)
mAllowedLevels[2]=(Allowed=true)
mAllowedLevels[3]=(Allowed=true)
mAllowedLevels[4]=(Allowed=true)
mXPStrength=800
mMinStackSize=10
mMaxStackSize=20
mGrowthratePercent=100
AnimNodeSeqComp=AnimNodeSequence'Default__H7RandomCreatureStack.AnimNode'
Inherited¶
| From | Members |
|---|---|
| H7AdventureObject | Properties: 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 |
| 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 |