Jump to content
  • 0
Sign in to follow this  
Glazy

704- Need Help- Stop NPC's Moving!

Question

Hey! I am currently coding my own RSPS and I have run into a problem. I have placed my own custom NPC's at my new server home but I can't get them to stop moving. I have tried "true, false" and "false, true" in the NPCSpawning.java file... I still can't get anything to work! :)

Please help me ;D Any help is greatly appreciated!

-Glazy

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0
Can anyone help or isn't it fixable?

Share this post


Link to post
Share on other sites
  • 0
Navigate to the NPC class (NPC.java within the npc folder.....)

1.Find:

[QUOTE]if (getFreezeDelay() < Utils.currentTimeMillis()) {[/QUOTE]
2.Under that, insert:

[QUOTE]setRandomWalk(false);[/QUOTE]
3.And under that....insert......

[QUOTE]if(id == ###) setRandomWalk(false);[/QUOTE]
(REPLACE ### with your npc id....)

Share this post


Link to post
Share on other sites
  • 0
[quote name='Draesia']Navigate to the NPC class (NPC.java within the npc folder.....)

1.Find:


2.Under that, insert:


3.And under that....insert......


(REPLACE ### with your npc id....)[/QUOTE]
or do it a good way, and use a param in the spawn file for walking, then parse it in the loader and if its false set random walk to false

Share this post


Link to post
Share on other sites
  • 0
[quote name='Steve']or do it a good way, and use a param in the spawn file for walking, then parse it in the loader and if its false set random walk to false[/QUOTE]

Mind teaching me how to do that?

Share this post


Link to post
Share on other sites
  • 0
Or does anyone else know any ways I can do it?

Share this post


Link to post
Share on other sites
  • 0
I did just list one.. It works fine, and isn't the worst method to use.

Share this post


Link to post
Share on other sites
  • 0
[quote name='Draesia']I did just list one.. It works fine, and isn't the worst method to use.[/QUOTE]

I tried it but it didn't work... ;/

Share this post


Link to post
Share on other sites
Sign in to follow this  

×