NPC with Autonomous movement paused when too far from screen

ryutto

Warper
Member
Joined
Oct 13, 2017
Messages
2
Reaction score
0
First Language
Indonesia
Primarily Uses
RMMV
Hello, i am currently working on project that have many NPC lurking arround some big map.

I use custom autonomous movement for each NPC, but those NPC stop moving when they are not in screen and then continue if they're on screen again.

If i use parallel proccess they still continue moving event outside screen but the yanfly event chase player plugin won't work.
Is there a way to fix this?
 

sairus323

Wandering mage
Member
Joined
Dec 25, 2016
Messages
23
Reaction score
2
First Language
Russian
Primarily Uses
RMMV
RMMV feature. Shaz's "Offscreen movement" plugin helps. Here it is. (I hope Shaz wouldn't mind if I post it here ^_^)
 

Attachments

  • offscreen movement.js
    1 KB · Views: 15

ryutto

Warper
Member
Joined
Oct 13, 2017
Messages
2
Reaction score
0
First Language
Indonesia
Primarily Uses
RMMV
Thank you very much, it's works perfectly and easy to use.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
43,737
Reaction score
15,310
First Language
English
Primarily Uses
RMMV

Latest Threads

Latest Posts

Latest Profile Posts

You look like you had a rough day...Here, have a Baby Panda!

A certain person better sell his stock while he still can, because it looks like it's going to take an unrecoverable nose dive.
7 years of trying to plan this project... and it got an official plotline today. 7 years. I really just have no concept of order huh GHJGSJHGVGHASFH.
Doing RPG Maker News for 24th October 2021

I'm not sure how to do this so I'll just ask here, Wheres a good place to post your game (for free) once its done?

Forum statistics

Threads
116,064
Messages
1,095,456
Members
151,429
Latest member
Happyface3864
Top