Jump to content
  • 0

Shop NPC that has a dialogue before opening the shop


Jarms Firstclaw

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  02/03/17
  • Last Seen:  

for example

mes "If you're going any further, you'll need some gear!";

next;

 

(Then the shop opens after pressing next)

 

How do I do this? Any help would be greatly appreciated!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   38
  • Joined:  04/28/13
  • Last Seen:  

You have to make a shop in the same npc, then use de command "callshop"

 

Example:

-	shop	shop1	0,512:-1

-	script	NPC WithShop	853,{

mes "Some Text Here";
next;
callshop "shop1",0;

}

Something like that.

callshop "Shopname",parameter;

0 = The normal window (buy, sell and cancel)

1 = The buy Window

2 = The sell Window

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

×
×
  • Create New...