Roblox Wiki
Roblox Wiki
No edit summary
m (Added external links)
Line 19: Line 19:
 
=== {{property|name=UserDialog|type=string}} ===
 
=== {{property|name=UserDialog|type=string}} ===
 
What the player interacting with the dialog say when this option is clicked.
 
What the player interacting with the dialog say when this option is clicked.
  +
  +
== External links ==
  +
  +
* {{DevHub class link}}
  +
* {{Roblox API Reference class link}}

Revision as of 02:58, 3 March 2019

The DialogChoice class is an object used to make dialog trees to converse with players. It is used with the Dialog light iconDialog dark iconDialog class to create dialogs. While the Dialog class is used to create the top of the hierarchy of a dialog, the DialogChoice class is used to create choices that the user can choose, and responses that the dialog system will give back if the user chooses specific choices.

Properties

GoodbyeChoiceActive: bool

Whether or not the "Goodbye" choice can be used.

GoodbyeDialog: string

The "Goodbye" dialog option.

ResponseDialog: string

What the object speaking will say when this choice is clicked.

UserDialog: string

What the player interacting with the dialog say when this option is clicked.

External links