VintheWolf Posted August 26, 2015 Share Posted August 26, 2015 Or at least exchanges the currency for items. See, I'm making a vendor that looks for these special chips, and will give special weapons when you gather alot of them, some pointers with that is all I need. Link to comment Share on other sites More sharing options...
slydog999 Posted August 26, 2015 Share Posted August 26, 2015 Go into the conditions for the topic that youll be using to open his barter menu look for GetItemCount where the getisid is set the function to your item and set greater than or equal to 2 (>=) now hell only show that topic if the player has that item.... reply if you need more help :) Link to comment Share on other sites More sharing options...
VintheWolf Posted August 26, 2015 Author Share Posted August 26, 2015 Go into the conditions for the topic that youll be using to open his barter menu look for GetItemCount where the getisid is set the function to your item and set greater than or equal to 2 (>=) now hell only show that topic if the player has that item.... reply if you need more help :smile:I was maybe thinking it would be something like that, but I also got 'round to thinking a bit, if there was a topic in which he took an amount of chips and rewarded you with something, kind of like, how certain people require you to have a certain item in the quest, then take it and give you a reward. Link to comment Share on other sites More sharing options...
slydog999 Posted August 26, 2015 Share Posted August 26, 2015 Then still keep the conditions but in his result script, if you want him to give you a certain item you would put player.additem Itemname AmountThat will only show up if he has said amount of caps Link to comment Share on other sites More sharing options...
Ducksaws Posted August 26, 2015 Share Posted August 26, 2015 yeah, just have a topic that only shows up if the player has a certain number of the item, then the result script for the topic is to remove a certain amount of the item, and also add the item you "bought" with them. Link to comment Share on other sites More sharing options...
slydog999 Posted August 26, 2015 Share Posted August 26, 2015 yeah, just have a topic that only shows up if the player has a certain number of the item, then the result script for the topic is to remove a certain amount of the item, and also add the item you "bought" with them.Ha nice catch I forgot the mention player.removeitem DX Sorry Link to comment Share on other sites More sharing options...
Recommended Posts