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,410
Reaction score
15,213
First Language
English
Primarily Uses
RMMV

Latest Threads

Latest Posts

Latest Profile Posts

BCj
Got another eye surgery monday. Hope I'll recover quick and all's well. A bit tired of surgeries. On a happy note, working on the next chapter of Escalia so hope I can continue soon :)
Celebrating the arrival of autumn in the Northern Hemisphere :)
When doing a map or whatever, kind of wish you could round out some parts.
Glad to announce:
Released a plugin mod for MV: SelectMultipleTargets v3.0 (mod of original by Zevia)

port to MZ is following

Forum statistics

Threads
115,357
Messages
1,089,254
Members
150,047
Latest member
skarndever
Top