Skip to content

Select Choice

Blueprint display name: Select Choice
Declaring type: UAdvancedDialogueComponent
Blueprint category: Dialogue|Choices
Exposure: BlueprintCallable

Select an enabled choice using its current visible index. Hidden choices are excluded. Refresh indices on each On Choices Requested event.

void SelectChoice(int32 ChoiceIndex);
Parameter Declared type Direction / default Meaning
ChoiceIndex int32 Input Index within the current visible choice list (not authored array position).

Return: No return value (void). As a callable function it can be invoked from an appropriate Blueprint instance, using standard execution flow.

Use the current visible response list rather than authored array indices. For a larger workflow, see the feature guide.

The reflected declaration and tooltip are confirmed in the provided source. Exact pin layout, widget visibility, gameplay success and cooked-build behavior were not observed in a live Unreal Editor in this environment. Validate against your engine version and inspect failure outputs when present.

  • Declaration: Source/AdvancedDialogue/Public/AdvancedDialogueComponent.h
  • Out-of-line implementation match: Source/AdvancedDialogue/Private/AdvancedDialogueComponent.cpp