Movement speed equipment

Hi! I'm trying to make an equipment allowing the player to move a bit faster, like the spring boots from FF6. Exemple : Default movement speed, 3, if someone in the party have X item equiped, player move at speed 4? I know i can make something with a common event on parallel, but maybe there's a better way?


Thank you!
Yeah, there are basically two ways to do it: Parallel Process common events or Scripting.  It sounds like you already know how to make the PP event (as a hint, I think you can use the script line $gamePlayer._moveSpeed += 1; to change it inside the Conditional Branch without having to do a bunch of different checks for the player's current Move Speed).  And if you want to go the scripting route, which is definitely a cleaner approach, make a request in the JS Script Requests section.  I don't imagine it would take a scripter very long to make this for you.
Yeah, there are basically two ways to do it: Parallel Process common events or Scripting.  It sounds like you already know how to make the PP event (as a hint, I think you can use the script line $gamePlayer._moveSpeed += 1; to change it inside the Conditional Branch without having to do a bunch of different checks for the player's current Move Speed).  And if you want to go the scripting route, which is definitely a cleaner approach, make a request in the JS Script Requests section.  I don't imagine it would take a scripter very long to make this for you.

I did


if hero1 has equipped "spring boot" 


Script :  $gamePlayer._moveSpeed = 4


else


if hero 2 ....


same with all heros and the final "else"


Script :  $gamePlayer._moveSpeed = 3


And it work flawlessly without lag. Cause, in events, when we use set move route and change speed through there, it cause a mini lag. I tried a lot of parrallel event with a lot of CB, nothing was fine enough for me. With your suggestion, i get no lag at all. It's perfect for me!! Thank you!!!  😀
Good, I'm glad it worked for you! 🙂



As one more hint, I like to add a one or two frame Wait command at the end of any PP event that's running constantly, just to make sure that as I add dozens more events, it won't lag up the game in general.  It slightly decreases the responsiveness at the moment you un/equip the item and return to the map, but it saves some processing power.  If this is one of only a few PP events you have running, you probably don't need to do this, though.
My last game, at the end, had some minor lag because of that. I will do that!

Original thread: https://forums.rpgmakerweb.com/threads/movement-speed-equipment.59520/