edit move speed via js

is there a script call for editing movement speed???
Yes!

$gamePlayer._moveSpeed = X;

That will change the player's movement speed to whatever you want. This should work with events too, using $gameMap.event(X)._moveSpeed = X;
what shall i replace X with???
2X faster?? "2x"
or some number????
The game uses speeds 1-6 by default, I believe. So, Speed = 6 is the fastest, faster than the player can even move, and Speed=1 is the slowest NPC possible. That being said, you can change these numbers to whatever you want, even crazily fast 100.

So, $gamePlayer._moveSpeed = 5;
This will make the player default to normal running speed.

$gamePlayer._moveSpeed = 10;
This will make the player comically fast.

$gamePlayer._moveSpeed = 1;
Painfully slow.
thanks 🙂
No problem!

Though, honestly, you really don't need scripts to do this, as you can change movement speed just with built in eventing.
im doing this for a plugin so manual stuffs can be automated
lazy stuffs...😎

Original thread: https://forums.rpgmakerweb.com/threads/edit-move-speed-via-js.77949/