extends Instance
Class fields
| Field | XML type | Value |
|---|---|---|
Name | string | Dialog |
summary | string | An object used to make dialog trees to converse with players |
ExplorerOrder | string | 22 |
ExplorerImageIndex | string | 62 |
Properties
8BehaviorType
DialogBehaviorType| Field | XML type | Value |
|---|---|---|
Name | string | BehaviorType |
summary | string | Indicates how the dialog may be used by players. Use Enum.DialogBehaviorType.SinglePlayer if only one player should interact with the dialog at a time, otherwise use Enum.DialogBehaviorType.MultiplePlayers. |
ConversationDistance
float| Field | XML type | Value |
|---|---|---|
Name | string | ConversationDistance |
GoodbyeDialog
string| Field | XML type | Value |
|---|---|---|
Name | string | GoodbyeDialog |
GoodbyeChoiceActive
bool| Field | XML type | Value |
|---|---|---|
Name | string | GoodbyeChoiceActive |
summary | string | Indicates whether or not an extra choice is available for the player to exit the dialog tree at this node. |
InUse
bool| Field | XML type | Value |
|---|---|---|
Name | string | InUse |
InitialPrompt
string| Field | XML type | Value |
|---|---|---|
Name | string | InitialPrompt |
Purpose
DialogPurpose| Field | XML type | Value |
|---|---|---|
Name | string | Purpose |
Tone
DialogTone| Field | XML type | Value |
|---|---|---|
Name | string | Tone |
Functions
1SignalDialogChoiceSelected
(player: Instance, dialogChoice: Instance) → void| Field | XML type | Value |
|---|---|---|
Name | string | SignalDialogChoiceSelected |
Events
1DialogChoiceSelected
(player: Instance, dialogChoice: Instance) → void| Field | XML type | Value |
|---|---|---|
Name | string | DialogChoiceSelected |