H7SeqCon_HasHeroWithItem¶
Class in MMH7Game · MMH7Game.H7SeqCon_HasHeroWithItem · native
Object › SequenceObject › SequenceOp › SequenceCondition › H7SeqCon_Condition › H7SeqCon_TimePassed › H7SeqCon_Player › H7SeqCon_HasHeroWithItem
Implements: H7IHeroReplaceable, H7IRandomPropertyOwner, H7IConditionable
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mAnyItem | bool | protected |
mCheckCount | bool | protected |
mHero | H7EditorHero | protected |
mHeroArmy | H7AdventureArmy | protected |
mItemToHave | H7HeroItem | protected |
mItemTotalCountAtLeast | int | protected |
mMustInTown | bool | protected |
mPreviousHighestProgress | int | protected |
mTown | H7Town | protected |
Functions¶
| Name | Declaration |
|---|---|
GetCurrentItemCount | function int GetCurrentItemCount(H7AdventureHero Hero) |
GetCurrentProgresses | function array<H7ConditionProgress> GetCurrentProgresses() |
GetHighestItemCount | function int GetHighestItemCount(H7Player thePlayer) |
GetObjClassVersion | static event int GetObjClassVersion() |
HasProgress | function bool HasProgress() |
InitProgress | protected function InitProgress() |
IsConditionFulfilledForPlayer | protected function bool IsConditionFulfilledForPlayer(H7Player Player) |
UpdateRandomProperties | function UpdateRandomProperties(Object randomObject, Object hatchedObject) |
Default values¶
mItemTotalCountAtLeast=1
VariableLinks(0)=(ExpectedType=Class'Engine.SeqVar_Object',LinkedVariables=none,LinkDesc="Hero Army",LinkVar="None",PropertyName="mHeroArmy",bWriteable=false,bSequenceNeverReadsOnlyWritesToThisVar=false,bModifiesLinkedObject=false,bHidden=false,MinVars=1,MaxVars=255,DrawX=0,CachedProperty=none,bA...
ObjName="Has Hero with collected Artifacts"
ObjCategory="H7Conditions_Hero"
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 |