I have an NPC that offers a quest via dialogs. I want him to say different phrases depending on whether or not the player has completed the quest. How do I do this? I know about DialogChoiceSelected, but idk how to change the text of a dialog.
✓ ANSWER ACCEPTED
How do I change what a dialog says from a script?
1 answer
✓ Accepted answer
DialogChoice have GoodbyeDialog, ResponseDialog and UserDialolg properties. And Dialog have GoodbyeDialog and InitialPrompt properties. By simply changing those values (they are string values), you can change text of your dialog.
Dialog.InitialPrompt = "Hi!"
Dialog.DialogChoice.ResponseDialog = "Hai!"
--Some simple examples
1 comment
0
Thank you very much!
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
I'd recommend just using GUIs. It'd be easier and more polished.