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,293
Reaction score
7,637
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
264
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,063
Reaction score
1,484
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 Posts

Latest Profile Posts

Evil7 added!


I did a bit of a remake on one of the maps, also I made a particle for jumping into the portal, and one for traveling through the portal. I'll probably add more sparkles later to embellish it. :LZSwink:
Polished the animation and added details :kaojoy:
Ami
What do you think about the Wood Bridge inside of Volcano?
Yet another gaming question, i'm currently playing Last of Us 2 and want to get another game to play next but can't decide between Ghost of Tsushima, Miles Morales & Jedi Fallen Order. After the latest mandalorian i AM on a star wars kick, but i also LOVED the last spiderman game that prequels Miles Morales. Ghost of Tsushima is the bottom of my list but i heard it was AWESOME. Just want a good story & fun gameplay.

Forum statistics

Threads
105,686
Messages
1,015,538
Members
137,362
Latest member
sdramose
Top