Hey guys! Its RobloxianFire2 coming at you with another tutorial. In this tutorial, I will be showing you how you can use dialog to make your games more interesting. Dialog can be used to make NPCs for RPG games where the players can chat to the NPCs to get quests to do. I'm only going to show you the basics of dialog, if you want to get more advanced into the dialogs, you might want to read up on the ROBLOX wiki about it: wiki.roblox.com/.
Lets get started!
We need something to put the dialog into. I'm just going to use a simple 3x3x3 plate like this:
Right, time to insert the dialog. Head up to Insert > Object then click on Dialog.
In the explorer, you should now see the part and beneath it "Dialog".
Now, I am going to show you a bit about the options in the dialog.
First, we have the "InitialPrompt" option. This is what the NPC/brick with the dialog inside it will say when a player clicks on the dialog. For the purpose of this tutorial, I am going to make it say "Hello. Is there anything I can help you with?". To do this, just click the box next to "InitialPrompt" in the dialog and type what you want it to say. So, when you click on the dialog, you should get something like this:
Okay, so we have our dialog. Time to add some choices. To do this, select the dialog in the explorer, head up to Insert > Object then select "DialogChoice".
Lets go over some of the options.
UserDialog is the choices the player gets to choose from once the dialog has finished. When the player clicks on a choice, the ResponseDialog is what the thing with the dialog will say. In my case, I've made the player say "Who are you"? Once the player has selected the option, the brick will say "I'm Mr.Brick. I am part of ROBLOX. I am here to give information to new players like you."
So, that is basically it. If there is anything I've forgot, please tell me in the comments. ;)
I hope you guys have enjoyed this particular tutorial, my name is RobloxianFire2 and I suppose I bid you all farewell!
Thank you so much for reading!
No comments:
Post a Comment