Skip to content

H7Observatory

Class in MMH7Game · MMH7Game.H7Observatory · native, perobjectconfig

Object › Actor › SkeletalMeshActor › SkeletalMeshCinematicActor › SkeletalMeshActorMAT › H7EditorMapObject › H7AdventureObject › H7VisitableSite › H7NeutralSite › H7Observatory

Implements: H7ITooltipable, H7IHideable

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

Properties

NameTypeNotes
mHeadquartersH7ObservatoryHQprotected
mIsHiddenboolprotected
mRadiusintprotected
mRevealedForPlayerint[EPlayerNumber]protected

Functions

NameDeclaration
AlreadyVisitedfunction AlreadyVisited(H7AdventureHero Hero)
FocusCameraHereAndRevealfunction FocusCameraHereAndReveal()
GetHeadquartersfunction H7ObservatoryHQ GetHeadquarters()
GetHQfunction H7ObservatoryHQ GetHQ()
GetRadiusfunction int GetRadius()
GetTooltipDatafunction H7TooltipData GetTooltipData(optional bool extendedVersion)
Hidefunction Hide()
IsHiddenXnative function bool IsHiddenX()
IsRevealedfunction bool IsRevealed(H7StructsAndEnumsNative.EPlayerNumber PlayerNumber)
OnVisitfunction OnVisit(out H7AdventureHero Hero)
PostSerializeevent PostSerialize()
Revealfunction Reveal()
RevealFogfunction RevealFog(H7StructsAndEnumsNative.EPlayerNumber PlayerNumber)
SetFocusAndRevealTimerfunction SetFocusAndRevealTimer(float Time)
SetHQfunction SetHQ(H7ObservatoryHQ hq)

Default values

mRevealedForPlayer=1
mMinimapIcon=Texture2D'H7TextureGUI.icon_Minimap_Shipyard'

Inherited

FromMembers
H7NeutralSiteProperties: mArmy, mEditorArmy, mGuardingArmy, mHasMinimapIcon, mOnVisitSound
Functions: GetArmy, GetFlashMinimapPath, GetGarrisonArmy, GetGuardingArmy, GetHasMinimap, GetMinimapIcon, GetNotVisitedColor, GetSite, GetVisitedColor, InitAdventureObject, IsNeutral, OnVisit, RenderDebugInfo, SetArmy, SetGarrisonArmy, SetGuardingArmy, SpawnGarrisonedArmy, SpendPickupCostsOnVisit
H7VisitableSiteProperties: mAbilityManager, mAdventureController, mAiBaseUtility, mAiOnIgnore, mBuffFlags, mBuffManager, mCliffMat, mClusterRef, mCustomNameInst, mEffectManager, mEntranceCell, mEntranceOffset, mEntranceSprite, mEventManager, mGlobalName, mHeroEventParam, mInitDone, mInitNameDone, mIsUnblockingEntrance, mLandscape, mLayer, mMinimapColor, mMinimapHidden, mMinimapIcon, mName, mQuestFlag, mReachabilityCheckDone, mSavedLocation, mSavedRotation, mUseCustomName, mVisitingArmy
Functions: AdaptToLandscape, AddBuffFlag, AddQuestFlag, AddSelfToMinimap, ApplyDamage, ClearQuestFlag, DataChanged, Destroyed, GetAbilityManager, GetActionID, GetAiBaseUtility, GetAiOnIgnore, GetAttack, GetBuffFlags, GetBuffManager, GetColor, GetCombatArmy, GetCurrentPosition, GetCustomName, GetEffectManager, GetEntityType, GetEntranceCell, GetEntranceOffset, GetEventManager, GetFlashMinimapPath, GetGridPosition, GetHasMinimap, GetHeightAsVector, GetHitPoints, GetID, GetLocation, GetLuckDestiny, GetMagic, GetMaximumDamage, GetMinimapColor, GetMinimapHidden, GetMinimapIcon, GetMinimumDamage, GetName, GetOriginal, GetPlayer, GetPreparedAbility, GetResistanceModifierFor, GetSchool, GetStackSize, GetVisitingArmy, GetVisitString, GetWorldEntranceNative, GUIAddListener, GUIWriteInto, InitAdventureObject, IsDefaultAttackActive, IsHidden, IsMovable, IsNeutral, IsUnblockingEntrance, LocalizeCustomName, NotifyVisit, OnTerrainChange, OnVisit, OverrideName, PostSerialize, PrepareAbility, ReorderBuffFlags, SetAiOnIgnore, SetAiUtilityValue, SetMinimapColor, SetMinimapHidden, SetName, SetVisitingArmy, SpendPickupCostsOnVisit, TriggerEvents, UnregisterEventManageable, UsePreparedAbility
H7AdventureObjectProperties: frameCount, mFloatRotationIntensity, mFloatSwayIntensity, Mid, mIsFloating, mOriginalLocation, mPassabilityType
Functions: AddQuestFlag, ClearQuestFlag, GetCellsUnderMe, GetCurrentPosition, GetName, GetQuestTargetID, InitAdventureObject, IsFloating, IsHidden, IsMovable, OnDoubleClick, OnLeftClick, OnRightClick, OnVisit, PostBeginPlay, ReferenceSelfToCells, SetFloating, UpdateFloating
H7EditorMapObjectProperties: AnimNodeSeqComp, mDynamicLightEnv, mFX, mHideMeshAndFX, mMesh, mShouldOutlineSkelMesh, mSnapToGroundType, mSnapType, mTerrainOffset
Functions: GetFX, GetMesh, GetMeshComp, SetMesh, SetShouldHideMeshAndFX, SetVisibility, ToggleVisibility
SkeletalMeshActorMAT1 properties, 13 functions
SkeletalMeshCinematicActor0 properties, 0 functions
SkeletalMeshActor15 properties, 28 functions
Actor156 properties, 262 functions
Object13 properties, 308 functions