I want to know how to create a npc which you click it, talk to him, and according to the option you choose it opens a shop.
It would something like this:
mes "I can get to you red and blue potions.";
next;
mes "What will you want?";
next;
switch(select("Red Potions:Blue potions")) {
case 1: <OPEN A SHOP THAT SELLS RED POTIONS>
case 2: <OPEN A SHOP THAT SELLS BLUE POTIONS>
}
Question
nunesb
I do not know if I asked right, but I meant:
I want to know how to create a npc which you click it, talk to him, and according to the option you choose it opens a shop.
It would something like this:
Many thanks to anyone who can help.
Edited by nunesbLink to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.