Skip to content

H7Caravan

Class in MMH7Game · MMH7Game.H7Caravan · perobjectconfig

Object › Actor › SkeletalMeshActor › SkeletalMeshCinematicActor › SkeletalMeshActorMAT › H7Unit › H7EditorHero › H7AdventureHero › H7Caravan

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

Properties

NameTypeNotes
mCaravanIconTexture2D

Functions

NameDeclaration
CreateHerofunction H7EditorHero CreateHero(optional H7EditorArmy Army, optional name herotag, optional Vector heroLocation, optional bool isAdventureHero, optional bool onlyHero, optional bool fromSave, optional H7EditorHero oldHero)
EndMovingfunction EndMoving(optional bool ignoreTargetNotReachedMessage)
GetCaravanArmyfunction H7CaravanArmy GetCaravanArmy()
GetFlashMinimapPathfunction string GetFlashMinimapPath()
GetNamefunction string GetName()
IsHerofunction bool IsHero()

Default values

mCaravanIcon=Texture2D'H7TextureGUI2.icon_Minimap_Caravan'

Inherited

FromMembers
H7AdventureHeroProperties: mAiClaimedSite, mAiDesiredTradeResource, mAiHasTradedToday, mAiLastScoreAction, mAiLastScoreActionCounter, mAiLastScoreParams, mCanScout, mCurrentPath, mFakeCell, mGovernedTown, mGovernorAbilities, mHasCastedSpellThisTurn, mHasFinishedCurrentTurn, mHasTearOfAsha, mIsAlliedWithEverybody, mIsInCombat, mLastCellMovement, mMinimapColor, mMinimapHidden, mMoveControl, mScoutingRadius, mTerrainCostModifier
Functions: AddGovernorAbility, AddSelfToMinimap, AssignMaterials, CanBuildCaravanOutpost, CanScout, Convert, DataChanged, DebugLogSelf, DecreaseBaseStatByID, DelayedPostLearnAbilityExplore, DelayedTearOfAshaRevealMessageFail, DelayedTearOfAshaRevealMessageSuccess, Deserialize, DeserializeReferences, Destroyed, DestroyTearOfAsha, DumpCurrentState, EndMoving, ForceReapplyPlayerChanged, GetAiLastScoreAction, GetAiLastScoreActionCounter, GetAiLastScoreParam, GetCell, GetClaimedSite, GetCurrentPath, GetDesiredTradeResource, GetFakeCell, GetGovernedTown, GetGovernorAbilities, GetGridPosition, GetHasTradedToday, GetLastCellMovement, GetMinimapColor, GetMinimapHidden, GetMoveControl, GetScoutingRadius, GetScoutingRadiusBase, GetSelectionFX, GetTerrainCostModifier, GetTerrainCostModifierBase, GetTooltipData, GUIAddListener, HasCastedSpellThisTurn, HasFinishedCurrentTurn, HasGovernorEffect, HasTearOfAsha, IncreaseBaseStatByID, Init, IsAlliedWithEverybody, IsAttacker, IsGovernourOfTown, IsInCombat, IsMoving, MoveHero, QuerySpellInstantRecall, RecalculateAggressiveness, RemoveGovernorAbility, RestoreSavedPath, RestoreState, RotateHero, Select, Serialize, SetAiLastScoreAction, SetAiLastScoreActionCounter, SetAiLastScoreParam, SetBaseStatByID, SetCanScout, SetCastedSpellThisTurn, SetClaimedSite, SetCurrentPath, SetDead, SetDesiredTradeResource, SetFakeCell, SetFinishedCurrentTurn, SetGovernedTown, SetHasTearOfAsha, SetHasTradedToday, SetIsAlliedWithEverybody, SetIsInCombat, SetLastCellMovement, SetMinimapColor, SetMinimapHidden, SetPlayer, SetScoutingRadius, StopMoving, UpdatePath, UpdateSelectionFX, UpdateSpells
H7EditorHeroProperties: HeroMaterials, mAiAggressiveness, mAiControlType, mAiHomeRadius, mAiHomeSite, mAiInHibernation, mAiObjectiveArmy, mAiObjectiveSite, mAiOnPatrol, mAiPatrolController, mAiPreferedRole, mAiRole, mAiRolePriority, mAnimControl, mArcaneKnowledgeBase, mBattleRage, mBoardShipSounds, mCampaignTransitionHeroArchetype, mClass, mColor, mCombatPopUpScreenStartSounds, mCurrentMana, mCurrentMovementPoints, mCurrentPreviewAbility, mEndMountedIdleSound_Magic, mEndMountedIdleSound_Might, mEndMountedRandomMoveSounds, mEndShipIdleSounds, mEndShipRandomMoveSounds, mEngageManuallySounds, mEngageQuickCombatSounds, mEquipment, mFactionBGHeroWindow, mFactionSpecializationFrame, mFX, mGlobalName, mHeroBioData, mHeroEventParam, mHeroPediaOverwrite, mHeroSkeletalMesh, mHoHDefaultArmy, mHorseSkeletalMesh, mImage, mImageXOffset, mImageYOffset, mInventory, mIsHero, mIsPendingLevelUp, mIsPowerLeveling, mLevel, mLevelUpSounds, mMagic, mManaRegenBase, mMaxDamagePerLevel, mMaxDeploymentNumber, mMaxDeploymentRows, mMaxManaBonus, mMetamagic, mMinDamagePerLevel, mMountedAbilitySound_Magic, mMountedAbilitySound_Might, mMountedAttackSound_Magic, mMountedAttackSound_Might, mMountedCommandSound_Magic, mMountedCommandSound_Might, mMountedDefeatSound_Magic, mMountedDefeatSound_Might, mMountedRangeAttackSound_Magic, mMountedRangeAttackSound_Might, mMountedTurnLeftSounds, mMountedTurnRightSounds, mMountedVictorySound_Magic, mMountedVictorySound_Might, mOriginArchetype, mOverrideHeroClassSkills, mOverwriteIcon, mOwningPlayer, mPreLearnedSkills, mQuickBarAdventure, mQuickBarCombat, mSaveHeroProgress, mSaveMovementPoints, mScriptedBehaviour, mShipTurningSounds, mSkillManager, mSkillPoints, mSpirit, mStartingAbility, mStartingSpellArchetypes, mStartMountedIdleSound_Magic, mStartMountedIdleSound_Might, mStartMountedRandomMoveSounds, mStartShipIdleSounds, mStartShipRandomMoveSounds, mStartSkills, mTransientName, mVisuals, mWarfareSiege, mWeaponMesh, mXp, mXpProgress
Functions: AddBuffsToDataObject, AddItemBoniToDataObject, AddMana, AddMaxManaBonus, AddSkillPoint, AddXp, BeginTurn, CheckQuickBar, ClampCurrentMana, ClampCurrentMovementPoints, ClearHeroMeshData, ClearScriptedBehaviour, CreateHero, DecreaseBaseStatByID, DeleteImage, Deserialize, DeserializeReferences, Destroyed, EnableAdventureIdleBridge, EndTurn, GetAbilities, GetAiAggressivness, GetAiControlType, GetAiHibernationState, GetAiHomeRadius, GetAiHomeSite, GetAiObjectiveArmy, GetAiObjectiveSite, GetAiOnPatrol, GetAiPatrolController, GetAiPreferedRole, GetAiRole, GetAiRolePriority, GetAmountOfWarcries, GetAnimControl, GetArcaneKnowledge, GetArcaneKnowledgeAsInt, GetArcaneKnowledgeBaseAsInt, GetArcangeKnowlageBase, GetArchetypeID, GetAttackBase, GetAttackRange, GetBaseStatByID, GetBattleRage, GetBoniFromItemSet, GetCampaignTransitionHeroArchetype, GetClampedCurrentMana, GetColor, GetCurrentMana, GetCurrentMovementPoints, GetCurrentXPForNextLevel, GetDamageRangeBase, GetDefenseBase, GetDiplomacyMod, GetEntityType, GetEquipment, GetExperiencePoints, GetFactionAuraInnerDecalTexture, GetFactionAuraOuterDecalTexture, GetFactionBGHeroWindow, GetFactionSpecializationFrame, GetFlashImagePath, GetFlashMinimapPath, GetHeightPos, GetHeroBioData, GetHeroClass, GetHeroFX, GetHeropediaOverwrite, GetHoHDefaultArmy, GetHorseRiderOffset, GetHPArchetypeID, GetIcon, GetInventory, GetIsOverrideHeroClass, GetIsScripted, GetLevel, GetLevelXPRange, GetLvl30XPNeeded, GetMagic, GetMagicBase, GetManaCostForSpell, GetManaRegen, GetManaRegenBase, GetMaxDeploymentNumber, GetMaxDeploymentRow, GetMaximumDamage, GetMaximumDamageBase, GetMaximumDamagePerLevel, GetMaxMana, GetMaxManaBase, GetMaxManaBonus, GetMeshCenter, GetMetamagic, GetMinimumDamage, GetMinimumDamageBase, GetMinimumDamagePerLevel, GetModifierByContainer, GetModifiersByID, GetMoveCostForTerrainType, GetMovementPoints, GetName, GetNextLevelXp, GetOriginArchetype, GetPlayer, GetPreLearnedHeroSkills, GetPrevLevelXp, GetProductionEffects, GetQuickBarSpells, GetQuickCombatSubstituteImpact, GetRelativeHeightPos, GetSaveProgress, GetSiegeWarUnitTemplate, GetSkillManager, GetSkillPoints, GetSkillsArchetype, GetSocketLocation, GetSourceArchetype, GetSpecialization, GetSpells, GetSpirit, GetSpiritBase, GetVisuals, GUIWriteInto, HandleLevelUpMessage, HasBuffFromAbility, HasPendingLevelUp, IncreaseBaseStatByID, Init, InitFX, InitSkillsAndAbilities, InvokeLevelUp, IsHero, IsMagicHero, IsMightHero, LearnItemAbilities, LevelUpStats, OverrideAbilityManager, OverrideBuffManager, OverrideSkillManager, PlayHeroSound, PlayParticleEffect, RegenMana, RestoreSavedMovementPoints, Serialize, SetAiAggressivness, SetAiControlType, SetAiHibernationState, SetAiHomeRadius, SetAiHomeSite, SetAiPreferedRole, SetAiRole, SetAiRolePriority, SetArcangeKnowlageBase, SetAttack, SetBaseStatByID, SetBattleRage, SetCampaignTransitionHeroArchetype, SetClass, SetCurrentMana, SetCurrentMovementPoints, SetCurrentPreviewAbility, SetDefense, SetDestiny, SetEquipment, SetFaction, SetFactionBGHeroWindow, SetFactionSpecializationFrame, SetHeropediaOverwrite, SetHoHDefaultArmy, SetIcon, SetImage, SetImageXOffset, SetImageYOffset, SetInitiative, SetInventory, SetIsHero, SetLeadership, SetLevel, SetMagic, SetManaRegeneration, SetMaximumDamage, SetMaxManaBonus, SetMaxMovementPoints, SetMeshes, SetMinimumDamage, SetMovementAudioType, SetOriginArchetype, SetOverrideHeroClass, SetPendingLevelUp, SetPlayer, SetPreLearnedSkills, SetQuickBarSpells, SetSaveProgress, SetScriptedBehaviour, SetSiegeWarUnitTemplate, SetSkillPoints, SetSpecialization, SetSpirit, SetStartingSpellArchetypes, SetStartSkills, SetTransientName, SetVisuals, SetXp, SpawnAnimControl, SpendSkillPoint, TriggerEvents, UpdateOutline, UseMana, UseMovementPoints
H7UnitProperties: mAbilityManager, mAnimSoundSpeedManipulator, mArmy, mArmyAdventure, mArtwork, mAttack, mAttackCount, mAttackCountMod, mBuffManager, mCasualtyStacks, mCollider, mColliderHeight, mColliderRadius, mCombatCtrl, mCurrentWave, mDefense, mDestiny, mDoStatusCheck, mEffectManager, mEmitterPoolParticleComps, mEventManager, mFaction, mFactionSymbol, mFinishedCommand, mFlankingBonus, mGhostWalkParticles, mGridPos, mHasBadMoral, mIcon, Mid, mIgnoreAllegiances, mInitiative, mIsAdditionalTurn, mIsDoneForAI, mIsMoralTurn, mIsWaiting, mIsWaitTurn, mKillsOnCurrentTurn, mLastPath, mLastQueuePosition, mLeadership, mLore, mLoreInst, mLuckAbility, mLuckType, mMagicAbs, mMarkForSkipTurn, mMaximumDamage, mMeleeAttackAbilityTemplate, mMinimumDamage, mMoveCount, mMovementPoints, mName, mNameInst, mNeedsPrivileg, mNewCreaturePosition, mOverrideAutoCollider, mOverrideWithAI, mPrivilegID, mProjectileStartSocket, mRange, mRangedAttackAbilityTemplate, mRotateRandom, mSchoolType, mSkipTurn, mSkirmishAttack, mSkirmishDefense, mSkirmishDestiny, mSkirmishInitiative, mSkirmishLeadership, mSkirmishMaximumDamage, mSkirmishMinimumDamage, mSkirmishMovementPoints, mSkirmishSchoolType, mSkirmishUnitCost, mStatCache, mStatModSourceBuffer, mSubstituteLuckAbility, mTeleportationEndSound, mTeleportationStartSound, mTeleportEndEffect, mTeleportStartEffect, mTriggerTurnEndEvents, mTriggerTurnStartEvents, mTsunamiCasterValues, mUnitCost, mWaitAbility, mWaitClicked, mWaveSource
Functions: AllocatePooledEmitter, ApplyDamage, BeforeEndTurn, BeginAction, BeginTurn, CanAttack, CanDefend, CanMakeAction, CanMove, ChangeUnitAnimationSoundSpeed, CleanupEmitterPools, ClearStatCache, ClearTurns, DataChanged, DecreaseBaseStatByID, Defend, DeleteImage, Deserialize, DeserializeReferences, Destroyed, DisplayStatChangeFloat, DisplayStatChangeLog, DoDeathMaterialEffectFading, DoLuckRoll, DumpModifiers, EnableUnitMoveSound, EnableUnitSound, EndAction, EndMoving, EndTurn, FinishedCommand, GetAbilityManager, GetActionID, GetAddBoniOnStatByID, GetAdventureArmy, GetAllShieldEffects, GetAnimSoundSpeedManipulator, GetArmy, GetAttack, GetAttackCount, GetAttackType, GetBaseStatByID, GetBuffManager, GetColliderHeight, GetColliderRadius, GetCombatArmy, GetCurrentLuckType, GetDefense, GetDefenseBase, GetDestiny, GetDestinyBase, GetDoneForAI, GetEffectContainerForStat, GetEffectManager, GetEndTeleportFXSound, GetEntityType, GetEventManager, GetFaction, GetFlashArtworkPath, GetFlashIconPath, GetForeignMoralePenaltyModifier, GetGhostWalkParticleFX, GetGridPosition, GetHeightPos, GetHitPoints, GetIcon, GetID, GetIDString, GetIgnoreAllegiances, GetInitiative, GetKillsOnCurrentTurn, GetLastQueuePosition, GetLastWalkedPath, GetLastWalkedPathLength, GetLeadership, GetLeadershipBase, GetLocation, GetLore, GetLuckAbility, GetLuckDestiny, GetMagic, GetMaximumDamage, GetMaximumDamageBase, GetMeleeAttackAbility, GetMeshCenter, GetMeshComponent, GetMinimumDamage, GetMinimumDamageBase, GetModifiedStatByID, GetModifiersByID, GetMoveCount, GetMovementPoints, GetMovementPointsBase, GetMultiBoniOnStatByID, GetName, GetNegotiationChance, GetNextInitiative, GetOriginal, GetPlayer, GetPreparedAbility, GetProjectileStartSocketName, GetRangedAttackAbility, GetResistanceModifierFor, GetResistanceModifierForTag, GetSchool, GetSkipTurnAbility, GetSocketLocation, GetStackSize, GetStartTeleportFXSound, GetStatModSourceList, GetSurrenderCostModifier, GetTeleportEndParticleFX, GetTeleportStartParticleFX, GetUnitBaseSize, GetUnitBaseSizeInt, GetUnitCost, GetUnitName, GetWaitAbility, HasBadMoral, HasFullAction, HasPreparedAbility, HasPreparedAbilityId, HasTeleportEndFX, HasTeleportStartFX, HasWaitClicked, HitUnit, IncreaseBaseStatByID, Init, InitCurrentWave, IsAdditionalTurn, IsAttacker, IsAutoColliderOverridden, IsCasting, IsControlledByAI, IsDead, IsDefaultAttackActive, IsMarkedForTurnSkip, IsMoralTurn, IsMoving, IsMyDefaultAbility, IsOverridenByAI, IsRanged, IsUnderAttack, IsWaiting, IsWaitTurn, LoadIcon, MakeTurn, MarkForTurnSkip, MPIsYourTurn, NextWaveStep, OnGetBuffed, OnPooledAttachedParticleSystemFinished, PlayParticleEffect, PostBeginPlay, PrepareAbility, PrepareDefaultAbility, RecalculatePostAnimInput, RecyclePooledEmitter, ResetLuckType, ResetPreparedAbility, ResetTurnCount, Serialize, SetAdditionalTurn, SetArmy, SetBaseStatByID, SetCommandFinished, SetCurrentLuckType, SetDoneForAI, SetIgnoreAllegiances, SetInitiative, SetKillsOnCurrentTurn, SetLastQueuePosition, SetLastWalkedPath, SetMeleeAttackAbility, SetMoralTurn, SetNewCreaturePosition, SetOverrideByAI, SetRangedAttackAbility, SetSchoolType, SetSkipTurn, SetSubstituteLuckAbilty, SetTriggerStartTurnEvents, SetUnitCosts, SetWaitAbility, SetWaitClick, SetWaiting, ShowFloatingText, StatusChanged, Think, TriggerEvents, TriggerStartTurnEvents, UndoDeathMaterialFX, UpdateParticleTranslucency, UseAttack, UseMove, UsePreparedAbility, Wait, WaveCatchCreatureStack
SkeletalMeshActorMAT1 properties, 13 functions
SkeletalMeshCinematicActor0 properties, 0 functions
SkeletalMeshActor15 properties, 28 functions
Actor156 properties, 262 functions
Object13 properties, 308 functions