Skip to content

Class · inherits Instance

DialogChoice

Official docs ↗

Used to craft the further choices available to players who have started a dialog conversation with an NPC.

About DialogChoice

Used to craft the further choices available to players who have started a dialog conversation with an NPC.

Properties 4

  • GoodbyeChoiceActive: booleanToggles whether the goodbye option will be displayed.

    Toggles whether the goodbye option will be displayed. If true, the dialog will display the content of DialogChoice.GoodbyeDialog as the last option after other dialog choices. Clicking on the goodbye option will exit the dialog.

  • GoodbyeDialog: stringSets the sentence that the dialog will show to the player when the chat ends.

    Sets the sentence that the dialog will show to the player when the chat ends

  • ResponseDialog: stringSets what the NPC will say when the player chooses this DialogChoice.
  • UserDialog: stringSets what the player will say when they choose this DialogChoice.

DialogChoice also has every member of Instance. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.