Difference between revisions of "Creating a new vendor"

4 bytes removed ,  11:03, 5 July 2010
no edit summary
imported>Scallywag38
imported>Scallywag38
Line 8: Line 8:
#Now select GREETING from the left section of the window. Right click the info tab  and click new, make the response text whatever you want, this is what your NPC will say when you first talk to him. Also make sure to leave the prompt clear.
#Now select GREETING from the left section of the window. Right click the info tab  and click new, make the response text whatever you want, this is what your NPC will say when you first talk to him. Also make sure to leave the prompt clear.
#This is an important step, with your greeting selected in the Info tab right click the Conditions tab and select New. Click the "INVALID" button and scroll down to your NPC's ID, then click OK. This makes it so that only your NPC will use the custom greeting you created. Now make sure that the "Condition Function" box says GetIsId, the "Comparison" Box is == and the "Value" box is 1. Select OK
#This is an important step, with your greeting selected in the Info tab right click the Conditions tab and select New. Click the "INVALID" button and scroll down to your NPC's ID, then click OK. This makes it so that only your NPC will use the custom greeting you created. Now make sure that the "Condition Function" box says GetIsId, the "Comparison" Box is == and the "Value" box is 1. Select OK
##Now select the "Buy"(or something similar) topic once more from the left,right click the info tab, select New and enter what your vendor will say when you select "Buy" into the Response Text box and select OK.
#Now select the "Buy"(or something similar) topic once more from the left,right click the info tab, select New and enter what your vendor will say when you select "Buy" into the Response Text box and select OK.
##In the "Info Details" section, click on the box to the right of the word prompt and enter, unsurprisingly your prompt... i.e- "I'd like to buy something"
#In the "Info Details" section, click on the box to the right of the word prompt and enter, unsurprisingly your prompt... i.e- "I'd like to buy something"
##Now repeat step 9 so only your venfow will sell you stuff.
#Now repeat step 9 so only your venfow will sell you stuff.
##Also, at the bottom of the window, in the "Result Script (Begin)" box type: SHOWBARTERMENU
#Also, at the bottom of the window, in the "Result Script (Begin)" box type: SHOWBARTERMENU
#Finally, Reselect GREETING and go over to the "Add Topic" tab, right click it, select Add Topic and select your "Buy" topic ID.
#Finally, Reselect GREETING and go over to the "Add Topic" tab, right click it, select Add Topic and select your "Buy" topic ID.
#Create a NEW container. The easiest way to do this is to go to the World Objects/Container section of the Object Window and set the filter to generic. Then right click the generic safe, select edit and enter an new ID. Now select OK and a box should pop up asking if you would like to create a new object or re-ID the existing object. Hit 'yes' to create a new one.
#Create a NEW container. The easiest way to do this is to go to the World Objects/Container section of the Object Window and set the filter to generic. Then right click the generic safe, select edit and enter an new ID. Now select OK and a box should pop up asking if you would like to create a new object or re-ID the existing object. Hit 'yes' to create a new one.
Anonymous user