Jump to content
  • 0

Need help with NPC's...


insarius

Question


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  106
  • Reputation:   3
  • Joined:  09/21/12
  • Last Seen:  

I'd like to create 3 different quest npc's, 1 in payon, 1 in morroc and 1 in rachel, which all link to the following NPC.

This NPC needs to warp around in 1 map, at set time intervals, to a random location on the map.

Once they complete the quest and find the hidden NPC, they get a coin which they can turn in at the 3rd NPC, which gives them a reward.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Two ways to move an NPC:

  • Use movenpc to warp an NPC around.
    *movenpc "<NPC name>",<x>,<y>{,<dir>};


  • Create 3 different NPCs and use hideonnpc/hideoffnpc or enablenpc/disablenpc.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  106
  • Reputation:   3
  • Joined:  09/21/12
  • Last Seen:  

Two ways to move an NPC:

  • Use movenpc to warp an NPC around.
    *movenpc "<NPC name>",<x>,<y>{,<dir>};


  • Create 3 different NPCs and use hideonnpc/hideoffnpc or enablenpc/disablenpc.

Thanks Euphy!

But how do I make the 2nd step read out if the prior quest is completed?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Set a variable to determine what part of the quest a player is on.

http://rathena.org/wiki/Basic_Scripting#Conditions.2C_Variables.2C_and_Set

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