Article link: Creating a Custom Merchant for The Player’s Camp – Part 3
In part 1 of this tutorial series, we looked at how we can use a “PRCSCR” file to get the game engine to run a custom script upon entering an area. This allowed us to then spawn an NPC character that we created inside the Single Player game’s Player Camp. In part 2 we looked at the conversation editor, and how to create conversations. We then gave a basic conversation to our NPC in preparation for turning them into a merchant.
In this part we’re going to actually turn our NPC into a merchant that the player can interact with. Now unfortunately Bioware made what I feel is a bad decision, and made it so that you can not dynamically create a merchant resource. If you attempt to use CreateObject() with OBJECT_TYPE_STORE you will find that the call fails every time. This means we need to think outside the box and figure out how to get our merchant resource into the player’s camp. So let’s see how we can do that.
Read the full tutorial
Page 1 of 1
Creating a Custom Merchant for The Player’s Camp – Part 3 Official comment topic
Page 1 of 1




MultiQuote