Jump to content
  • 0
Sign in to follow this  
Hyroshima

Mob Sprite in npc don't walk anymore?

Question

Hey guys.

 

So, for some time I was creating an instance with interactive npcs, that walk around the map to give more immersion in the story.

I was using a client 2018, so I tried it on a newer client in 2020 and it didn't work, so I went looking for where it was working to try to resolve it.

 

maximum client that is working: 2019-05-08cRagexe  (any client after that does not work.)

 

I did the test on both rA and Hercules, i got the same result as shown in the video below.  (Left does not work & Right work!)
I am a few days trying to see if I can solve it but I have not succeeded so far.

 

code used for testing:

prontera,155,178,3	script	testeeee	1039,{


	sleep 1500;
	setarray .@x[0],151,155,158,155;
	setarray .@y[0],175,173,175,178;
	freeloop(1);
	while(true)
	{		
		npcwalkto .@x[.@i],.@y[.@i];
		set .@i,(.@i >= getarraysize(.@x) ? 0:.@i+1);
		sleep 2500;
	}
	freeloop(0);
	
end;
}


 

 

 

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.