Jump to content
  • 0

[Duplicating] Shopping NPC


Question

Posted (edited)

Hi, quick question  /??

 

This are 4 stores placed in prontera, one script. Just wondering how can I duplicate this in different cirys?

prontera,164,141,2 shop Ammunition 880,1766:2,1755:2,1750:1,1754:2,1761:2,1773:3,1752:2,1760:2,1759:2,1772:2,1757:3,1770:2,1769:3,1765:2,1763:3,1762:3,1767:3,1764:3,1751:2,1768:3,1753:3,1756:3,1758:3,1771:5,13200:1,13202:3,13201:3,13206:3,13203:3,13207:3,13204:3,13205:3,13252:5,13254:5,13251:5,13253:5,13250:5,13256:5,13259:5,13258:5,13255:5,13257:5
prontera,164,143,2 shop Alchemist Dealer 880,715:600,716:600,717:600,1025:200,7136:2500,7135:2500,7137:500,7138:500,7139:500
prontera,164,145,2 shop Street Dealer 880,678:5000,505:-1,506:40,610:4000,545:150,546:600,547:1650
prontera,164,147,2 shop Sheepy Gonzales 895,12028:1000,12262:500,12016:750
 

Do I have to put "Ammunition#1", "Alchemist Dealer#1"....

and then 

payon,34,56,4      duplicate    Ammunition#2 880,1766:2,1755:2......   

payon,34,56,4     duplicate    Alchemist Dealer#2 880,715:600,716:600.....

 

Thanks in advice

Edited by Dhall

3 answers to this question

Recommended Posts

Posted

 

<map name>,<x>,<y>,<facing>%TAB%duplicate(<label>)%TAB%<NPC Name>%TAB%<sprite id>,<triggerX>,<triggerY>

Ex:

payon,34,56,4%TAB%duplicate(Ammunition)%TAB%Ammunition#2%TAB%880

payon,37,56,4%TAB%duplicate(Alchemist Dealer)%TAB%Alchemist Dealer#2%TAB%880

Posted


- shop Sheepy Gonzales -1,12028:1000,12262:500,12016:750

town,22,173,4 script Sheepy 895,{

npcshopattach "Sheepy Gonzales";

callshop "Sheepy Gonzales",3;

close;

}

payon,34,56,4 duplicate(Sheepy) Sheepy Gonzales#1 895

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