Select Choice
Blueprint display name: Select Choice
Declaring type: UAdvancedDialogueComponent
Blueprint category: Dialogue|Choices
Exposure: BlueprintCallable
What it does
Section titled “What it does”Select an enabled choice using its current visible index. Hidden choices are excluded. Refresh indices on each On Choices Requested event.
C++ declaration
Section titled “C++ declaration”void SelectChoice(int32 ChoiceIndex);Inputs, outputs and Blueprint pins
Section titled “Inputs, outputs and Blueprint pins”| 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.
Usage context
Section titled “Usage context”Use the current visible response list rather than authored array indices. For a larger workflow, see the feature guide.
Validation, prerequisites and limitations
Section titled “Validation, prerequisites and limitations”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.
Source references
Section titled “Source references”- Declaration:
Source/AdvancedDialogue/Public/AdvancedDialogueComponent.h - Out-of-line implementation match:
Source/AdvancedDialogue/Private/AdvancedDialogueComponent.cpp