Skip to content

H7SeqCon_HoldCreatures

Class in MMH7Game · MMH7Game.H7SeqCon_HoldCreatures · native

Object › SequenceObject › SequenceOp › SequenceCondition › H7SeqCon_Condition › H7SeqCon_TimePassed › H7SeqCon_Player › H7SeqCon_HoldCreatures

Implements: H7IConditionable

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

Structs

H7CreatureDat

FieldType
CreatureH7Creature
mOperH7StructsAndEnumsNative.ECompareOp
usePercentbool
Amountint
Percentint
InitedArmyCreatureAmountbool
InitAmountint
PreviousAmountint
Defaults
Creature=none
mOper=ECompareOp.ECO_EQUAL
usePercent=false
Amount=0
Percent=0
InitedArmyCreatureAmount=false
InitAmount=0
PreviousAmount=0

Properties

NameTypeNotes
mArmyObject
mCreatureContainerH7IStackContainerprotected
mCreaturesarray<H7CreatureDat>protected
mProgressPercentstringprotected

Functions

NameDeclaration
GetCurrentAmountprotected function int GetCurrentAmount(int CreatureIndex, array<H7IStackContainer> containers)
GetCurrentProgressesfunction array<H7ConditionProgress> GetCurrentProgresses()
GetObjClassVersionstatic event int GetObjClassVersion()
GetPlayerStackContainersfunction array<H7IStackContainer> GetPlayerStackContainers(H7Player fromPlayer)
GetProgress_Percentprotected function string GetProgress_Percent()
GetStackContainersfunction array<H7IStackContainer> GetStackContainers(H7Player thePlayer)
HasProgressfunction bool HasProgress()
InitProgressprotected function InitProgress()
InitProgress_Percentprotected function InitProgress_Percent()
IsConditionFulfilledForPlayerprotected function bool IsConditionFulfilledForPlayer(H7Player thePlayer)

Default values

VariableLinks(0)=(ExpectedType=Class'Engine.SeqVar_Object',LinkedVariables=none,LinkDesc="Stack Container",LinkVar="None",PropertyName="mArmy",bWriteable=false,bSequenceNeverReadsOnlyWritesToThisVar=false,bModifiesLinkedObject=false,bHidden=false,MinVars=1,MaxVars=255,DrawX=0,CachedProperty=none,...
ObjName="Has creatures"

Inherited

FromMembers
H7SeqCon_PlayerProperties: mAnyPlayer, mConditionPlayer, mPlayers
Functions: GetObjClassVersion, GetPlayers, HasProgress, IsConditionFulfilled, IsConditionFulfilledForPlayer
H7SeqCon_TimePassedProperties: mCounter, mProgress, mTimeAmount, mUnit, mUseTimer
Functions: GetCurrentProgresses, GetObjClassVersion, GetProgress, HasOutputImpulse, HasProgress, HasTimePassed, InitProgress, UpdateCounter, UpdateDay, UpdateWeek
H7SeqCon_ConditionProperties: mNot, mOldQuestTargets
Functions: Activated, ConditionProgressed, Eval, GetObjClassVersion, GetQuestTargets, HasOutputImpulse, IsConditionFulfilled, UpdateDay, UpdateWeek
SequenceCondition0 properties, 0 functions
SequenceOp26 properties, 18 functions
SequenceObject17 properties, 6 functions
Object13 properties, 308 functions