Skip to content

H7SeqCon_CanReachHero

Class in MMH7Game · MMH7Game.H7SeqCon_CanReachHero · native

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

Implements: H7IHeroReplaceable, H7IConditionable

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

Properties

NameTypeNotes
mCheckArmyH7AdventureArmyprotected
mCheckHeroH7EditorHeroprotected
mInstigatingArmyH7AdventureArmyprotected
mReachArmyH7AdventureArmyprotected
mReachedArmyH7AdventureArmyprotected
mReachHeroH7EditorHeroprotected
mReachPlayerH7StructsAndEnumsNative.EPlayerNumberprotected
mWithinMovementRangeboolprotected
mWithinTilesintprotected

Functions

NameDeclaration
GetArmiesfunction array<H7AdventureArmy> GetArmies(H7Player thePlayer, H7EditorHero theHero)
GetObjClassVersionstatic event int GetObjClassVersion()
IsConditionFulfilledForPlayerprotected function bool IsConditionFulfilledForPlayer(H7Player thePlayer)

Default values

mReachPlayer=EPlayerNumber.PN_PLAYER_NONE
mWithinMovementRange=true
VariableLinks(0)=(ExpectedType=Class'Engine.SeqVar_Object',LinkedVariables=none,LinkDesc="Checked Army",LinkVar="None",PropertyName="mCheckArmy",bWriteable=false,bSequenceNeverReadsOnlyWritesToThisVar=false,bModifiesLinkedObject=false,bHidden=false,MinVars=1,MaxVars=255,DrawX=0,CachedProperty=non...
VariableLinks(1)=(ExpectedType=Class'Engine.SeqVar_Object',LinkedVariables=none,LinkDesc="Army to be reached",LinkVar="None",PropertyName="mReachArmy",bWriteable=false,bSequenceNeverReadsOnlyWritesToThisVar=false,bModifiesLinkedObject=false,bHidden=false,MinVars=1,MaxVars=255,DrawX=0,CachedProper...
VariableLinks(2)=(ExpectedType=Class'Engine.SeqVar_Object',LinkedVariables=none,LinkDesc="Instigating Army",LinkVar="None",PropertyName="mInstigatingArmy",bWriteable=true,bSequenceNeverReadsOnlyWritesToThisVar=false,bModifiesLinkedObject=false,bHidden=false,MinVars=1,MaxVars=255,DrawX=0,CachedPro...
VariableLinks(3)=(ExpectedType=Class'Engine.SeqVar_Object',LinkedVariables=none,LinkDesc="Reached Army",LinkVar="None",PropertyName="mReachedArmy",bWriteable=true,bSequenceNeverReadsOnlyWritesToThisVar=false,bModifiesLinkedObject=false,bHidden=false,MinVars=1,MaxVars=255,DrawX=0,CachedProperty=no...
ObjName="Can reach 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