Making "Dialog.DialogChoiceSelected" Clearly Client-Side

It seems myself and multiple other developers have encountered this problem when scripting Dialogs. The DialogChoiceSelected event for Dialogs does not work in server scripts with Filtering Enabled on. It’s not a surprise to me now that I have figured it out (when I finally did). Now that all games are FE, this is important. The articles about this have no mention of this event being only client side. The example code provided kinda implies that the dialog and script are in the workspace, where local scripts won’t run. Below I will link the articles.

https://www.robloxdev.com/articles/Shop-Dialogs

https://www.robloxdev.com/articles/Usage-of-dialogs

In short: Add notation that .DialogChoiceSelected is client-side only.

5 Likes

Definite support, took me a while to figure this out without the wiki clearly stating it.

Thank you for the report.

This behavior is now described in the API reference manual (https://www.robloxdev.com/api-reference/event/Dialog/DialogChoiceSelected) and we will look at correcting those tutorials you linked as soon as possible.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.