Roblox Wiki
Roblox Wiki
Tag: sourceedit
(Updated)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Infobox class
+
{{Infobox class}}
| explorer order = 22}}
 
   
  +
The '''DialogChoice''' class is an object used to make dialog trees to converse with players. It is used with the {{Class link|Dialog}} 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.
An object used to make dialog trees to converse with players.
 
   
  +
{{Member list
== Properties ==
 
  +
| GoodbyeChoiceActive =
 
This class has four [[properties]].
 
 
=== {{property|name=GoodbyeChoiceActive|type=bool}} ===
 
 
Whether or not the "Goodbye" choice can be used.
 
Whether or not the "Goodbye" choice can be used.
   
=== {{property|name=GoodbyeDialog|type=string}} ===
+
| GoodbyeDialog =
 
The "Goodbye" dialog option.
 
The "Goodbye" dialog option.
   
=== {{property|name=ResponseDialog|type=string}} ===
+
| ResponseDialog =
 
What the object speaking will say when this choice is clicked.
 
What the object speaking will say when this choice is clicked.
   
=== {{property|name=UserDialog|type=string}} ===
+
| UserDialog =
 
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}}

Latest revision as of 03:53, 17 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

This API member has existing documentation in this page's Member list template.
This class member is missing documentation. Create or add to its subpage at Class:DialogChoice/GoodbyeChoiceActive.
  • Category: Data.
  • Serialization: can save and load.
  • Thread safety: read safe

GoodbyeDialog: string

This API member has existing documentation in this page's Member list template.
This class member is missing documentation. Create or add to its subpage at Class:DialogChoice/GoodbyeDialog.
  • Category: Data.
  • Serialization: can save and load.
  • Thread safety: read safe

ResponseDialog: string

This API member has existing documentation in this page's Member list template.
This class member is missing documentation. Create or add to its subpage at Class:DialogChoice/ResponseDialog.
  • Category: Data.
  • Serialization: can save and load.
  • Thread safety: read safe

UserDialog: string

This API member has existing documentation in this page's Member list template.
This class member is missing documentation. Create or add to its subpage at Class:DialogChoice/UserDialog.
  • Category: Data.
  • Serialization: can save and load.
  • Thread safety: read safe

External links