MZ Plugin or script for Cars in city.

Hello.

Is there a plugin or script that prevents the cars (photo) from being too close together? Because when I'm in range, the vehicles move. However, outside of range, the vehicles remain stationary. That's why I'm asking if there's anything that would make the vehicles move automatically without contact with the player.
Bez tytułu.png
if its 1 event per car, maybe alter the distance of it?

you could also make a min distance of 3 tiles so it stays cleanly behind it.
I thought the same thing to give them more distance between themselves. But it doesn't help.
e4e43.png
Autonomous movement stops whenever the event is far enough off-screen. You could work around this by using a Parallel event with Set Movement Route commands, e.g.
  • Set Move Route {Car 1}: [movements] (Repeat)
  • Set Move Route {Car 2}: [movements] (Repeat)
  • ...
  • Erase Event
The Erase Event at the end here is just to make sure the event runs once per map visit.

Alternatively you could seek a plugin that forces auto-movement to continue even when off-screen, e.g. looks like VisuStella Events & Movement Core has an <Always Update Movement> event notetag:
It has a bunch of other stuff you might also find useful.

Otherwise, a plugin like this may be enough (for all events):
JavaScript:
/*:
 * @target MV MZ
 * @plugindesc Update autonomous movement even when off-screen.
 * @author Caethyril
 * @url https://forums.rpgmakerweb.com/posts/1556491/
 * @help Free to use and/or modify for any project, no credit required.
 */
// Override - now everyone is always considered "near the screen".
Game_CharacterBase.prototype.isNearTheScreen = function() { return true; };

Original thread: https://forums.rpgmakerweb.com/threads/plugin-or-script-for-cars-in-city.183644/