is there a script call for editing movement speed???
edit move speed via js
Learning JavascriptYes!
$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;
$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;
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.
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.
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...😎
lazy stuffs...😎
Original thread: https://forums.rpgmakerweb.com/threads/edit-move-speed-via-js.77949/