Jump to content

How to make a food merchant.


bigman28

Recommended Posts

1 Create an NPC

 

2 Create a Quest, tick start game enabled

 

3 Go into the topics tab of your quest, right click the white list on the left, click add topic, scroll down to "GREETING"

 

4 Also, create a new topic by right clicking on the list where you found "GREETING"

 

5 Right click the info tab of your GREETING and click new, make the response text whatever you want, this is what he'll say when you first talk to him. (Leave the prompt clear)

 

6 This is very important, right click the "conditions" tab and select new, click the "INVALID" button and scroll down to your NPC's ID (Make it == 1)

 

7 Go to the new topic you created earlier, by using the same methods you used to create the GREETING.

 

(right click the "conditions" tab and select new, click the "INVALID" button and scroll down to your NPC's ID (Make it == 1)

 

Response text: (This is what he'll say when you click the "Buy" Button)

 

Prompt: (Whatever you want it to be) Example: I'd like to buy something.

 

Now, at the bottom in the "Result Script (Begin)" box type: SHOWBARTERMENU

 

8. Create a NEW (Meaning new ID etc.) container, put it inside your house's cell but somewhere where the player can't reach it, put whatever you want in it, this is what the merchant will sell (Hint: Caps)

 

9. Place your NPC inside your house, double click him in the render window and select merchant container, and scroll down to your container's ID, click okay, save and you're done.

 

 

P.S. Then set the ownership of the container to the merchant (double click on the container, ownership, then set the NPC). And don't forget to set the ai data of the merchant (services)

 

 

 

((((I can't seem to get it to work, can some one explain how to do it ti me via the conversation editor?)))

Edited by bigman28
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...