Jump to content

NpcTrade example


Pototo
 Share

Recommended Posts

Requested in discord: script example to use NpcTrade function (selling stuff at npc vendor) with a Do-not-sell list.

Notes:

  • NpcTrade does not require to open dialogue, just by targeting the vendor is enought (at least here in toggle).
  • Take special care when editing DoNotList Length because it may happen that compiling doesn't give any error but later on adrenaline will crash while running.
  • LoadItems function (move stuff to WH) should work the same as this but it is not working on trial verion

Share & Enjoy

 

NpcTrade.txt

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...