Jump to content

How to make NPCs selling thing?


todiros

Recommended Posts

Hi to all!

 

So i want to make NPC to sell items like trader - click on him and it open window with item he have, and prices below. I want to know if that is possible without CK, if its possible, please post a tutorial how can i do this. Thanks! :rolleyes:

Link to comment
Share on other sites

Maybe i expressed myself wrong. :confused: I made mod which allow to buy potions, but i buy them from Cooking Pot which is ridiculous, so want buy them somehow from NPC. I've tried in BNAM to write a NPC id, instead cooking pot's id but it doesn't work. :wallbash:

It cant be so hard? :unsure:

 

Thanks! :thumbsup:

Edited by todiros
Link to comment
Share on other sites

You need to find the container reference that's associated with that NPCs shop in Skyrim.esm. It may be named after the NPC or it may be named after their shop, it varies. Once you find the reference, just copy and paste it to your plugin, then add your items into that container (don't forget to specify a quantity). If you're wanting your item(s) to appear randomly as part of a leveled list that's a more complex affair that I'm not personally familiar with but I'm sure there's a handful of people on here that could get you started with that.

 

One of the best ways to learn how to mod plugin files is to find a mod that does specifically the task you want to learn, download it, and tear it apart to see how other modders accomplished it.

Edited by MShoap13
Link to comment
Share on other sites

  • Recently Browsing   0 members

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