Skip to content

H7SeqAct_BaseDialogue

Class in MMH7Game · MMH7Game.H7SeqAct_BaseDialogue · abstract, native

Object › SequenceObject › SequenceOp › SequenceAction › SeqAct_Latent › H7SeqAct_Narration › H7SeqAct_BaseDialogue

Subclasses: H7SeqAct_ShowDialogue, H7SeqAct_StartShowDialogue

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

Enums

EDialogueSpeakerPosition

DSP_LEFT = 0, DSP_RIGHT = 1, DSP_MAX = 2

Structs

H7DialogueLine

FieldType
mIsDialoguebool
mIsSpeakerEnabledbool
mIsPositionEnabledbool
SpeakerTypeH7StructsAndEnumsNative.ESpeaker
speakerH7EditorHero
PositionH7SeqAct_BaseDialogue.EDialogueSpeakerPosition
Contentstring
ListenerH7EditorHero
activeHeroListensbool
mStartVoiceOverAkEvent
mStopVoiceOverAkEvent
Defaults
mIsDialogue=true
mIsSpeakerEnabled=true
mIsPositionEnabled=true
SpeakerType=ESpeaker.SPEAKER_CUSTOM
speaker=none
Position=EDialogueSpeakerPosition.DSP_LEFT
Content=""
Listener=none
activeHeroListens=false
mStartVoiceOver=none
mStopVoiceOver=none

Properties

NameTypeNotes
mAutoForwardboolprotected
mBaseDialogueTypeH7StructsAndEnumsNative.EDialogueTypeprivate
mBaseIsDialogueboolprivate
mBaseLinesarray<H7DialogueLine>private
mBaseNarratorH7EditorHeroprivate
mCloseCaptionstringprotected
mCouncilDialogWindowH7GFxCouncilDialogprotected
mCurrentLineIndexintprotected
mDialogueFinishedboolprotected
mDialogWindowH7GFxDialogprotected
mLocalAutoPlaySettingboolprotected
mNarrationDialogWindowH7GFxNarrationDialogprotected
mNextCaptionstringprotected
mPlayInitialDialogueboolprotected
mPreviousCaptionstringprotected
mReadyToSwapboolprotected
mWasCanceledboolprotected

Functions

NameDeclaration
AutoOnNextLineevent AutoOnNextLine()
BecomeReadyToSwapfunction BecomeReadyToSwap()
DoAutoForwardevent DoAutoForward()
GetAllSpeakersAndListenersfunction array<H7EditorHero> GetAllSpeakersAndListeners()
GetCurrentLineStructfunction H7DialogueLine GetCurrentLineStruct()
GetCurrentLineTextfunction string GetCurrentLineText()
GetListenerHerofunction H7EditorHero GetListenerHero(optional int lineIndex = -1, optional bool autoGenerateFallbackListener = true)
GetLocalAutoPlaySettingfunction bool GetLocalAutoPlaySetting()
GetLocalizedContentfunction string GetLocalizedContent(int lineIndex)
GetObjClassVersionstatic event int GetObjClassVersion()
GetSoundActorevent Actor GetSoundActor()
GetSpeakerHeroevent H7EditorHero GetSpeakerHero(optional int lineIndex = -1)
Initializefunction Initialize()
isMonologfunction bool isMonolog()
OnClosefunction OnClose(optional bool wasCanceled = false)
OnNextLineevent OnNextLine()
OnPreviousLinefunction OnPreviousLine()
PlayCallbackAKEventnative function PlayCallbackAKEvent(AkEvent Event)
SetAutoForwardevent SetAutoForward(bool val)
SetLocalAutoPlaySettingfunction SetLocalAutoPlaySetting(bool val)
SetTimerfunction SetTimer(float Seconds, name functionToCall)
ShowCurrentDialogueLinefunction ShowCurrentDialogueLine()
ShowDialoguefunction ShowDialogue(array<H7DialogueLine> Lines, H7StructsAndEnumsNative.EDialogueType dialogueType, H7EditorHero narrator)
ShowNextLinefunction ShowNextLine()
StartVoiceOverfunction StartVoiceOver()
StopVoiceOverfunction StopVoiceOver()

Default values

OutputLinks(0)=(Links=none,LinkDesc="Finished",bHasImpulse=false,bDisabled=false,bDisabledPIE=false,LinkedOp=none,ActivateDelay=0.0000000,DrawY=0,bHidden=false,bMoving=false,bClampedMax=false,bClampedMin=false,OverrideDelta=0,PIEActivationTime=0.0000000,bIsActivated=false)
OutputLinks(1)=(Links=none,LinkDesc="Skipped",bHasImpulse=false,bDisabled=false,bDisabledPIE=false,LinkedOp=none,ActivateDelay=0.0000000,DrawY=0,bHidden=false,bMoving=false,bClampedMax=false,bClampedMin=false,OverrideDelta=0,PIEActivationTime=0.0000000,bIsActivated=false)

Inherited

FromMembers
H7SeqAct_NarrationFunctions: GetObjClassVersion
SeqAct_Latent3 properties, 2 functions
SequenceAction3 properties, 0 functions
SequenceOp26 properties, 18 functions
SequenceObject17 properties, 6 functions
Object13 properties, 308 functions