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
Structs¶
H7CreatureDat
| Field | Type |
|---|---|
Creature | H7Creature |
mOper | H7StructsAndEnumsNative.ECompareOp |
usePercent | bool |
Amount | int |
Percent | int |
InitedArmyCreatureAmount | bool |
InitAmount | int |
PreviousAmount | int |
Defaults
Creature=none
mOper=ECompareOp.ECO_EQUAL
usePercent=false
Amount=0
Percent=0
InitedArmyCreatureAmount=false
InitAmount=0
PreviousAmount=0Properties¶
| Name | Type | Notes |
|---|---|---|
mArmy | Object | |
mCreatureContainer | H7IStackContainer | protected |
mCreatures | array<H7CreatureDat> | protected |
mProgressPercent | string | protected |
Functions¶
| Name | Declaration |
|---|---|
GetCurrentAmount | protected function int GetCurrentAmount(int CreatureIndex, array<H7IStackContainer> containers) |
GetCurrentProgresses | function array<H7ConditionProgress> GetCurrentProgresses() |
GetObjClassVersion | static event int GetObjClassVersion() |
GetPlayerStackContainers | function array<H7IStackContainer> GetPlayerStackContainers(H7Player fromPlayer) |
GetProgress_Percent | protected function string GetProgress_Percent() |
GetStackContainers | function array<H7IStackContainer> GetStackContainers(H7Player thePlayer) |
HasProgress | function bool HasProgress() |
InitProgress | protected function InitProgress() |
InitProgress_Percent | protected function InitProgress_Percent() |
IsConditionFulfilledForPlayer | protected 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¶
| From | Members |
|---|---|
| H7SeqCon_Player | Properties: mAnyPlayer, mConditionPlayer, mPlayers Functions: GetObjClassVersion, GetPlayers, HasProgress, IsConditionFulfilled, IsConditionFulfilledForPlayer |
| H7SeqCon_TimePassed | Properties: mCounter, mProgress, mTimeAmount, mUnit, mUseTimer Functions: GetCurrentProgresses, GetObjClassVersion, GetProgress, HasOutputImpulse, HasProgress, HasTimePassed, InitProgress, UpdateCounter, UpdateDay, UpdateWeek |
| H7SeqCon_Condition | Properties: mNot, mOldQuestTargets Functions: Activated, ConditionProgressed, Eval, GetObjClassVersion, GetQuestTargets, HasOutputImpulse, IsConditionFulfilled, UpdateDay, UpdateWeek |
| SequenceCondition | 0 properties, 0 functions |
| SequenceOp | 26 properties, 18 functions |
| SequenceObject | 17 properties, 6 functions |
| Object | 13 properties, 308 functions |