Jump to content
  • 0

Using the save function on duplicate NPCs


klaw

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  08/24/13
  • Last Seen:  

Let me explain what I'm doing first. I have an all in one NPC script (based on Euphy's -- but highly edited). Its menu options are

 

1: Save

2: Repair

3: Identify

4: Refine

5: Stat/Skill Reset

6: Card Removal

7: Platinum Skills

8: Renter

 

I'm trying to find an easy way to create duplicate NPCs and have the same function to the relative map. The only thing that I can think of is to create an array that stores the towns and their X,Ys, using the Npc #(1-36) to pull those coordinates.

 

If anyone has any suggestions I would greatly appreciate it. Thanks :)

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

why not just use getmapxy to retrieve player location when they save.... ???

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  08/24/13
  • Last Seen:  

Good point Emistry, thanks. Solved.

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