Run two scripts for the same event at the same time?

It is possible to do that?

I want:
A Event following a Movement Route
A Script that increments the speed of the Event while following the route

I've tried it with Common Events: a Movement Route that only wait and increment the speed. In parallel mode doesn't do nothing and calling it in Event Command runs linearly.

It's my second day with RPG Maker and I don't know if it's possible do that (or if there is another way).

PS: in this case the Event is a NPC vehicle that I want to give it a more realistic speed acceleration. I will use the acceleration (and deceleration) in a lot of Events a lot of times so I need make it reusable.
Why not just have the speed increase in the move route?
Why not just have the speed increase in the move route?
Suppose that I've 20 Events in a map, and each event have its movement route, and in each movement route have some accelerations and decelerations. All that tedious work could be simplified (if it's possible).
It can be done via Javascript, however using the Script command is rather slow in execution time due to real-time compilation. So I'm not exactly sure that would be the solution to regulate 20 events through 20 eval commands.
If you want the speed changes to be timed with the event movements, then putting them together in the same movement route is pretty much the only way to do it.

Go grab a coffee and get started 😉
It can be done via Javascript, however using the Script command is rather slow in execution time due to real-time compilation. So I'm not exactly sure that would be the solution to regulate 20 events through 20 eval commands.
If in this case I want to reuse a function (accelerate the speed of an event) in a lot of events, the best way is to make a plugin in JS?

If you want the speed changes to be timed with the event movements, then putting them together in the same movement route is pretty much the only way to do it.

Go grab a coffee and get started 😉
For me it's more easy and fast recycle a JS function. But I don't know if I can modify an event in JS while the same event is following a movement route, at the same time.
If that is faster for you, then sure. $gameMap.event(1)._moveSpeed should be the thing if I remember correctly.
If that is faster for you, then sure. $gameMap.event(1)._moveSpeed should be the thing if I remember correctly.
Game_Map.event(eventId).setMoveSpeed(moveSpeed);

I believe, I'm new.
$gameMap.event(eventId).setMoveSpeed(moveSpeed) would be possible. However, $gameMap.event(1)._moveSpeed should be directly the variable you'll be manipulating, making it easier to manipulate as you can use ++ and --.

Original thread: https://forums.rpgmakerweb.com/threads/run-two-scripts-for-the-same-event-at-the-same-time.108580/