Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

Dialog Wont work?

Asked by
iLegitus 130
10 years ago

So ive got a dialog inside a part called "Head",But theres no humanoid in the model. Somehow when i click the dialog(Wich has a dialogchoice),Nothing appears it just dissapers.

Output says :

18:19:32.239 - message must be non-empty
18:19:32.240 - Script 'CoreGui.RobloxGui.CoreScripts/MainBotChatScript', Line 405 - global doDialog
18:19:32.240 - Script 'CoreGui.RobloxGui.CoreScripts/MainBotChatScript', Line 448 - global startDialog
18:19:32.241 - Script 'CoreGui.RobloxGui.CoreScripts/MainBotChatScript', Line 471
18:19:32.241 - Stack End
18:19:32.242 - Disconnected event because of exception

Help me out please?

4 answers

Log in to vote
1
Answered by
Merely 2122 Moderation Voter Community Moderator
10 years ago

This error gets thrown if the Dialog's InitialPrompt property is an empty string. Try putting a few letters in the InitialPrompt.

Ad
Log in to vote
1
Answered by 10 years ago

Make sure that the choices are within the initial prompt, and make sure dialog's "InUse" Box is unticked.

0
No its not that. iLegitus 130 — 10y
Log in to vote
0
Answered by 10 years ago

Hm.. Well, so there's dialog in the head, right? Then after that there's choices? You may possibly need a humanoid for it to work properly. If you don't want the health and name to be shown, make the NPC's MaxHealth 0 and name your model with nothing (there's one character in the name, btw. It is spacebar).

0
Nope,It still not working but thanks for trying to help. iLegitus 130 — 10y
0
Np. EmeraldSlash 0 — 10y
Log in to vote
0
Answered by
iLegitus 130
10 years ago

Turns out i was stupid enough to not write the Initial Prompt....Silly me.

Answer this question