Jump to content
  • 0
Sign in to follow this  
xienne15

R> Moving NPC using custom Player mob ID

Question

I am requesting an npc that walks in straight line in prontera from middle fountain going to the kafra below prontera. I tried using the custom mob ID 2501(arch bishop) with mob_avail but when i try to see that npc, i got error like ajfasfasnf/arch bishop.spr or asdasdfasf/arch bishop.act, but sometimes i dont encounter this and can see the NPC...What could be the problem? im using 2013 client.

 

P.S. I can summon 2501 without any error as monster,but when i put it to a moving npc it will close my client.

 

prontera,160,187,3	script	Alicia	2501,{stopnpctimer;mes "[Alicia]";mes "HI "+strcharinfo(0)+" !";close;goto OnInit;end;OnInit:startnpctimer;npcspeed 200;end;OnTimer2000:set .@random, rand(3);if (.@random == 0) { npcwalkto 163,179;npctalk "1a"; }if (.@random == 1) { npcwalkto 155,187;npctalk "1b"; }if (.@random == 2) { npcwalkto 158,180;npctalk "1c"; }end;OnTimer6000:set .@random, rand(3);if (.@random == 0) { npcwalkto 155,177;npctalk "2a"; }if (.@random == 1) { npcwalkto 160,177;npctalk "2b"; }if (.@random == 2) { npcwalkto 158,174;npctalk "2c"; }end;OnTimer13000:set .@random, rand(3);if (.@random == 0) { npcwalkto 165,182;npctalk "3a"; }if (.@random == 1) { npcwalkto 150,167;npctalk "3b"; }if (.@random == 2) { npcwalkto 170,187;npctalk "3c"; }end;OnTimer18000:npcwalkto 160,187;end;OnTimer21000:stopnpctimer;initnpctimer;end;}
Edited by xienne15

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.