Skip to content

OnVoiceFailed

Member: UAdvancedDialogueComponent::OnVoiceFailed
Delegate type: FAdvancedDialogueVoiceFailed
Exposure: UPROPERTY(BlueprintAssignable)

Emitted when voice playback is unavailable, fails to start or times out. The line falls back to Manual.

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FAdvancedDialogueVoiceFailed, const FAdvancedDialogueLineContext&, LineContext, FText, FailureReason);

The delegate macro contains the following type/name pairs, as authored in source:

Type Parameter name
const FAdvancedDialogueLineContext& LineContext
FText FailureReason

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.

  • Property: Source/AdvancedDialogue/Public/AdvancedDialogueComponent.h
  • Delegate signature: Source/AdvancedDialogue/Public/AdvancedDialogueComponent.h