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

Latest Threads

Latest Posts

Latest Profile Posts

Posted some halloween freebies! Grab them while on season :kaopride:
hallow_cat.png
So my birthday was about a week ago! Just forgot to post it. I went to a Golden Corral, and it was soooooo good! :kaojoy: I also got some Animal Crossing in my life! Yay, Animal Crossing!
At this point, "unique and diverse cast of characters" might as well be slang for Every Character is a Human-Sue.
I found an absolutely brilliant lifehack on the internet today.

Screenshot_760.jpg

Forum statistics

Threads
116,144
Messages
1,096,147
Members
151,571
Latest member
Arcade_Fox_Cub
Top