Skip to content

H7AdventureObject

Class in MMH7Game · MMH7Game.H7AdventureObject · native

Object › Actor › SkeletalMeshActor › SkeletalMeshCinematicActor › SkeletalMeshActorMAT › H7EditorMapObject › H7AdventureObject

Implements: H7IQuestTarget

Subclasses: H7RandomCreatureStack, H7TargetableSite, H7VisitableSite

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

Properties

NameTypeNotes
frameCountfloatprotected
mFloatRotationIntensityfloatprotected
mFloatSwayIntensityfloatprotected
Midintprotected
mIsFloatingboolprotected
mOriginalLocationVectorprotected
mPassabilityTypeH7StructsAndEnumsNative.EPassabilityTypeconst

Functions

NameDeclaration
AddQuestFlagfunction AddQuestFlag()
ClearQuestFlagfunction ClearQuestFlag()
GetCellsUnderMenative function GetCellsUnderMe(out array<H7AdventureMapCell> outCells)
GetCurrentPositionfunction H7AdventureMapCell GetCurrentPosition()
GetNameevent string GetName()
GetQuestTargetIDfunction int GetQuestTargetID()
InitAdventureObjectevent InitAdventureObject()
IsFloatingfunction bool IsFloating()
IsHiddenfunction bool IsHidden()
IsMovablefunction bool IsMovable()
OnDoubleClickfunction OnDoubleClick()
OnLeftClickfunction OnLeftClick()
OnRightClickfunction OnRightClick()
OnVisitfunction OnVisit(out H7AdventureHero Hero)
PostBeginPlaysimulated function PostBeginPlay()
ReferenceSelfToCellsnative function ReferenceSelfToCells()
SetFloatingfunction SetFloating(bool newFloating, float floatRot, float floatSway)
UpdateFloatingnative function UpdateFloating(float DeltaTime)

Default values

mFloatRotationIntensity=30.0000000
mFloatSwayIntensity=0.3000000
AnimNodeSeqComp=AnimNodeSequence'Default__H7AdventureObject.AnimNode'

Inherited

FromMembers
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