Skip to content

H7SeqCon_HasHeroWith

Class in MMH7Game · MMH7Game.H7SeqCon_HasHeroWith · abstract, native

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

Implements: H7IHeroReplaceable, H7IConditionable

Subclasses: H7SeqCon_HasHeroFromFaction, H7SeqCon_HasHeroOfClass, H7SeqCon_HasHeroWithAbility, H7SeqCon_HasHeroWithAffinity, H7SeqCon_HasHeroWithArtifact, H7SeqCon_HasHeroWithSkill, H7SeqCon_HasHeroWithSpecialization, H7SeqCon_HasHeroWithSpell, H7SeqCon_HasHeroWithStat

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

Properties

NameTypeNotes
mHeroH7EditorHeroprotected
mHeroArmyH7AdventureArmyprotected
mUseInteractingHeroboolprotected

Functions

NameDeclaration
GetObjClassVersionstatic event int GetObjClassVersion()
IsConditionFulfilledForHeroprotected function bool IsConditionFulfilledForHero(H7AdventureHero currentHero)
IsConditionFulfilledForPlayerprotected function bool IsConditionFulfilledForPlayer(H7Player thePlayer)

Default values

mUseInteractingHero=true
VariableLinks(0)=(ExpectedType=Class'Engine.SeqVar_Object',LinkedVariables=none,LinkDesc="Interacting Hero Army",LinkVar="None",PropertyName="mHeroArmy",bWriteable=false,bSequenceNeverReadsOnlyWritesToThisVar=false,bModifiesLinkedObject=false,bHidden=false,MinVars=1,MaxVars=255,DrawX=0,CachedProp...
ObjCategory="H7Conditions_Hero"

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