Events with custom moveroute desyncing.

Leah Prime

Intermediate Eventomancer
Veteran
Joined
Sep 14, 2013
Messages
54
Reaction score
0
First Language
English
Primarily Uses
RMMV
Hi, so I have a somewhat large (70 by 70) map With a reasonable (20-30) amount of "Patrolling" events (And a large amount of stationary events). Some of these events (Let's call them ghosts) are meant to be patrolling in set patterns with eachother. (Ex: Two of them patrolling side by side, or moving in a square opposite to each-other, or crossing each-other in a line)

Now whenever I approach some of these events in my map, they tend to desync, leading them to be at different relative potions in their moveroute to eachother. I assume this is due to some anti lag property of rpg maker MV that unloads the ghosts until they're reasonably close to the player. My question is, is there a script or something that can disable this property for specific ghosts (there's only about 6 ghosts I need to sync up with eachother), or is there some other solution to this problem?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,266
Reaction score
7,633
First Language
German
Primarily Uses
RMMV
to prevent lag, autonomous movement is stopped when the event is at a certain distance from the player.

you either need an anti-lag plugin that allows you to take control of that mechanism or circumvent it by eventing.
 

Zerothedarklord

Veteran
Veteran
Joined
Jun 25, 2013
Messages
263
Reaction score
70
First Language
English
Primarily Uses
RMMV
There is, I have a plugin that allows move routes to proceed regardless. I use it to make birds and various creatures move around on maps regardless of where the player is.
 

Leah Prime

Intermediate Eventomancer
Veteran
Joined
Sep 14, 2013
Messages
54
Reaction score
0
First Language
English
Primarily Uses
RMMV
I feel a bit silly requesting this but I have searched around and couldn't find any plugin that does this. Can anyone point me to a specific plugin or name of one?
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
2,058
Reaction score
1,483
First Language
EN
Primarily Uses
RMMZ
:kaohi: Looks like Yanfly's Move Route Core offers an event notetag for this:
Event Notetags:

<Always Update Movement>
- Most events don't update unless they're close to the screen. But any
event with this notetag will always be updating regardless of whether they
are close to the screen or not.

Alternatively you could try saving this as a .js file (copy into a text editor, Save As > File Type: All Files, Filename: whatever.js) and import as a plugin:
JavaScript:
Game_CharacterBase.prototype.isNearTheScreen = function() { return true; };
That's probably not ideal, though; if it works, it'll affect all events. :kaoslp:
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

So I'm practicing ITC with a spirit box, and decide to try to contact my deceased soulmate. It actually gave me multiple identifiers. Me, still a bit skeptical, asked aloud "Fine but does he still love me?" and the box spoke and printed the word "Forever" at the same time. Been a mess of tears since. :kaocry:
Been scratching away at my game and making progress, but just had a revelation. I'm working in full screen and adjusting all my pictures accordingly, but will they resize if someone's screen is smaller?? I hope this doesn't turn out to be a problem later.
Why is there so much month left at the end of money? D=
Hello humans! How goes your day in this journey of living? I hope it is good, for I am human like you, and I am feeling great! Worship the altar.

Forum statistics

Threads
105,627
Messages
1,015,074
Members
137,288
Latest member
GmOcean
Top