Jump to content
  • 0

Npc Info Like This


croxinuz

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  62
  • Reputation:   0
  • Joined:  03/18/12
  • Last Seen:  

a.jpg

That NPC picture.

Some information npc but, this npc can move and make a chat for information, if you click at the npc, it will tell you about Some information.

sorry for my bad english >.<

May Someone Help me ? :D

Link to comment
Share on other sites

4 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:  

<map>,<x>,<y>,<facing> script Piya 1894,{
npctalk "This NPC can talk!";
npcwalkto <x>,<y>; // It moves!
npcstop; // Stop!
// You get the point... c:
end;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  62
  • Reputation:   0
  • Joined:  03/18/12
  • Last Seen:  

<map>,<x>,<y>,<facing> script Piya 1894,{
npctalk "This NPC can talk!";
npcwalkto <x>,<y>; // It moves!
npcstop; // Stop!
// You get the point... c:
end;
}

hmm.. thank you For help me sir :)

but,if i want this NPC move more than one cordinat ex: 159,114 ; 164,120; and that npc repeat move again... :P

hehehe

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

You can just keep repeating npcwalkto and npcstop. Add a random sleep here and there to make it stop moving. You can also use loops if you know how to do that.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  62
  • Reputation:   0
  • Joined:  03/18/12
  • Last Seen:  

You can just keep repeating npcwalkto and npcstop. Add a random sleep here and there to make it stop moving. You can also use loops if you know how to do that.

oke sir, i will try this :)

thank you for help me... hehe

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