rojo/.cursor/rules/roblox/reference/engine/classes/DialogChoice.yaml
2026-02-02 12:08:47 -06:00

104 lines
2.7 KiB
YAML

# This file is automatically generated. Please don't edit it manually.
# To submit a bug report on the content, see
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
name: DialogChoice
type: class
memory_category: Instances
summary: |
Used to craft the further choices available to players who have started a
dialog conversation with an NPC.
description: |
Used to craft the further choices available to players who have started a
dialog conversation with an NPC.
code_samples: []
inherits:
- Instance
descendants: []
tags: []
deprecation_message: ''
properties:
- name: DialogChoice.GoodbyeChoiceActive
summary: |
Toggles whether the goodbye option will be displayed.
description: |
Toggles whether the goodbye option will be displayed. If true, the dialog
will display the content of `Class.DialogChoice.GoodbyeDialog` as the last
option after other dialog choices. Clicking on the goodbye option will
exit the dialog.
code_samples: []
type: boolean
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Data
serialization:
can_load: true
can_save: true
capabilities:
- UI
- name: DialogChoice.GoodbyeDialog
summary: |
Sets the sentence that the dialog will show to the player when the chat
ends.
description: |
Sets the sentence that the dialog will show to the player when the chat
ends
code_samples: []
type: string
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Data
serialization:
can_load: true
can_save: true
capabilities:
- UI
- name: DialogChoice.ResponseDialog
summary: |
Sets what the NPC will say when the player chooses this DialogChoice.
description: |
Sets what the NPC will say when the player chooses this DialogChoice.
code_samples: []
type: string
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Data
serialization:
can_load: true
can_save: true
capabilities:
- UI
- name: DialogChoice.UserDialog
summary: |
Sets what the player will say when they choose this DialogChoice.
description: |
Sets what the player will say when they choose this DialogChoice.
code_samples: []
type: string
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Data
serialization:
can_load: true
can_save: true
capabilities:
- UI
methods: []
events: []
callbacks: []