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
Enums¶
EDialogueSpeakerPosition
DSP_LEFT = 0, DSP_RIGHT = 1, DSP_MAX = 2
Structs¶
H7DialogueLine
| Field | Type |
|---|---|
mIsDialogue | bool |
mIsSpeakerEnabled | bool |
mIsPositionEnabled | bool |
SpeakerType | H7StructsAndEnumsNative.ESpeaker |
speaker | H7EditorHero |
Position | H7SeqAct_BaseDialogue.EDialogueSpeakerPosition |
Content | string |
Listener | H7EditorHero |
activeHeroListens | bool |
mStartVoiceOver | AkEvent |
mStopVoiceOver | AkEvent |
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=noneProperties¶
| Name | Type | Notes |
|---|---|---|
mAutoForward | bool | protected |
mBaseDialogueType | H7StructsAndEnumsNative.EDialogueType | private |
mBaseIsDialogue | bool | private |
mBaseLines | array<H7DialogueLine> | private |
mBaseNarrator | H7EditorHero | private |
mCloseCaption | string | protected |
mCouncilDialogWindow | H7GFxCouncilDialog | protected |
mCurrentLineIndex | int | protected |
mDialogueFinished | bool | protected |
mDialogWindow | H7GFxDialog | protected |
mLocalAutoPlaySetting | bool | protected |
mNarrationDialogWindow | H7GFxNarrationDialog | protected |
mNextCaption | string | protected |
mPlayInitialDialogue | bool | protected |
mPreviousCaption | string | protected |
mReadyToSwap | bool | protected |
mWasCanceled | bool | protected |
Functions¶
| Name | Declaration |
|---|---|
AutoOnNextLine | event AutoOnNextLine() |
BecomeReadyToSwap | function BecomeReadyToSwap() |
DoAutoForward | event DoAutoForward() |
GetAllSpeakersAndListeners | function array<H7EditorHero> GetAllSpeakersAndListeners() |
GetCurrentLineStruct | function H7DialogueLine GetCurrentLineStruct() |
GetCurrentLineText | function string GetCurrentLineText() |
GetListenerHero | function H7EditorHero GetListenerHero(optional int lineIndex = -1, optional bool autoGenerateFallbackListener = true) |
GetLocalAutoPlaySetting | function bool GetLocalAutoPlaySetting() |
GetLocalizedContent | function string GetLocalizedContent(int lineIndex) |
GetObjClassVersion | static event int GetObjClassVersion() |
GetSoundActor | event Actor GetSoundActor() |
GetSpeakerHero | event H7EditorHero GetSpeakerHero(optional int lineIndex = -1) |
Initialize | function Initialize() |
isMonolog | function bool isMonolog() |
OnClose | function OnClose(optional bool wasCanceled = false) |
OnNextLine | event OnNextLine() |
OnPreviousLine | function OnPreviousLine() |
PlayCallbackAKEvent | native function PlayCallbackAKEvent(AkEvent Event) |
SetAutoForward | event SetAutoForward(bool val) |
SetLocalAutoPlaySetting | function SetLocalAutoPlaySetting(bool val) |
SetTimer | function SetTimer(float Seconds, name functionToCall) |
ShowCurrentDialogueLine | function ShowCurrentDialogueLine() |
ShowDialogue | function ShowDialogue(array<H7DialogueLine> Lines, H7StructsAndEnumsNative.EDialogueType dialogueType, H7EditorHero narrator) |
ShowNextLine | function ShowNextLine() |
StartVoiceOver | function StartVoiceOver() |
StopVoiceOver | function 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¶
| From | Members |
|---|---|
| H7SeqAct_Narration | Functions: GetObjClassVersion |
| SeqAct_Latent | 3 properties, 2 functions |
| SequenceAction | 3 properties, 0 functions |
| SequenceOp | 26 properties, 18 functions |
| SequenceObject | 17 properties, 6 functions |
| Object | 13 properties, 308 functions |