Class
DialogChoice
Used to craft the further choices available to players who have started a dialog conversation with an NPC.
Used to craft the further choices available to players who have started a dialog conversation with an NPC.
Properties 4#
GoodbyeChoiceActiveboolean | Toggles whether the goodbye option will be displayed.ReadSafe |
GoodbyeDialogstring | Sets the sentence that the dialog will show to the player when the chat ends.ReadSafe |
ResponseDialogstring | Sets what the NPC will say when the player chooses this DialogChoice.ReadSafe |
UserDialogstring | Sets what the player will say when they choose this DialogChoice.ReadSafe |
GoodbyeChoiceActive: boolean#
ReadSafe
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: string#
ReadSafe
Sets the sentence that the dialog will show to the player when the chat ends
ResponseDialog: string#
ReadSafe
Sets what the NPC will say when the player chooses this DialogChoice.
UserDialog: string#
ReadSafe
Sets what the player will say when they choose this DialogChoice.
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild