OnDialogueLineRequested
Member: UAdvancedDialogueComponent::OnDialogueLineRequested
Delegate type: FAdvancedDialogueLineRequested
Exposure: UPROPERTY(BlueprintAssignable)
Runtime purpose
Section titled “Runtime purpose”Alternative expanded-pin line notification. For new custom UI prefer On Dialogue Line Started and its context. Do not present or play the same line from both events.
Delegate payload declaration
Section titled “Delegate payload declaration”DECLARE_DYNAMIC_MULTICAST_DELEGATE_NineParams( FAdvancedDialogueLineRequested, UAdvancedDialogueSpeaker*, SpeakerAsset, FGameplayTag, SpeakerTag, AActor*, SpeakerActor, FText, SpeakerDisplayName, FLinearColor, SpeakerNameColor, UTexture2D*, SpeakerPortrait, FGameplayTag, ExpressionTag, USoundBase*, VoiceAudio, FText, LineText);The delegate macro contains the following type/name pairs, as authored in source:
| Type | Parameter name |
|---|---|
UAdvancedDialogueSpeaker* |
SpeakerAsset |
FGameplayTag |
SpeakerTag |
AActor* |
SpeakerActor |
FText |
SpeakerDisplayName |
FLinearColor |
SpeakerNameColor |
UTexture2D* |
SpeakerPortrait |
FGameplayTag |
ExpressionTag |
USoundBase* |
VoiceAudio |
FText |
LineText |
Integration rule
Section titled “Integration rule”Bind using the component or camera component instance that owns this dispatcher, not an unrelated Actor. The notification is not a guarantee that the associated gameplay consequence succeeded unless its contract says so.
Source references
Section titled “Source references”- Property:
Source/AdvancedDialogue/Public/AdvancedDialogueComponent.h - Delegate signature:
Source/AdvancedDialogue/Public/AdvancedDialogueComponent.h