Skip to content

Get Choice Count

Blueprint display name: Get Choice Count
Declaring type: UAdvancedDialogueComponent
Blueprint category: Dialogue|Choices|Details
Exposure: BlueprintPure

Visible count including disabled choices and excluding hidden choices. Zero without current choices.

int32 GetChoiceCount() const;

No declared parameters beyond the implicit instance target (where applicable).

Return: int32. As a BlueprintPure function it is an expression node without execution pins.

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