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

Latest Threads

Latest Posts

Latest Profile Posts

Finnuval wrote on ShuBun-Kin's profile.
Loving the avatar :D
Introducing the premium bagel
I have a micro economics midterm tomorrow. I'm not worried.
Should be a...small exam :kaojoy:
While was working on one of the monsters that will appear in my horor game I may have made harold a Lovecraftian monster. (I used his head to keep things aligned.)
Finally got my website fixed and the security sorted so it's been a productive day. Can I go to sleep now? I mean... I don't need to work right?

Forum statistics

Threads
115,927
Messages
1,094,096
Members
151,183
Latest member
Yoshua2050
Top