Jump to content
  • 0

Open a trade window with npc


Question

Posted (edited)

this is what i am talking about. theres a npc and once a character click on it a trade window will appear automatically... if the item is correct it will be traded with a new item but before that a progressbar will appear first.. 

 

whether the player is near or far from the npc as long as they click on it a trade window will appear...

post-20951-0-23733200-1383213841_thumb.jpg

post-20951-0-32995600-1383213845_thumb.jpg

Edited by Capuche
Edit the title to a more informative one

8 answers to this question

Recommended Posts

Posted
  On 10/31/2013 at 10:04 AM, dfabsgwapings said:

this is what i am talking about. theres a npc and once a character click on it a trade window will appear automatically..

 

in simple word, you want to trade with NPC?

Posted

yea. .. but only the required items are accepted just like making an item but through trading it with npc.

for example im making valkyrian armor

and the npc required 2000 jellopies to be traded after the trade is done there will be a cast time sometimes slow sometimes fast .. after the cast time finished the item will have a chance to be successful or failed tobe created.

and if the character puts an incorrect or more or less than the required value of item when the player clicks on ok button in trade window the deal will automaticalky cancelled.

i hope you undrstand i really mean for this...

Posted

why you prefer trade?
there are Dynamic NPC shop

Example:
You can click on NPC,
NPC Sell interface appear
You drop all kind of item include jellopy

Then only jellopy will accepted, or you can make custom dialog
 

Posted

is that pictures for illustration or you got from other RO?

there is no trade to npc script
it need new function inside core
since this is player feature, it should be hardcode

Join the conversation

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

Guest
Answer this question...

×   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.

  • Recently Browsing   0 members

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