For the life of me I can't figure out how to give the player a speed boost for 15 seconds and revert it back to normal speed. I'd like to have the event as a common event so I can put it on certain items.
Timer for temporary player speed boost?
RPG Maker MV SupportOne way would be to have two simple common events something like this:
(Worth noting that common events only run while you're on the map scene, i.e. they're "paused" when you're in battle, in the menu, etc.)
- One called from your item(s):
Code:◆Control Switches:#0001 Speed Boost = ON - Another, with parallel trigger and assigned to that switch, with commands:
Code:◆Set Movement Route:Player : :◇Speed:5 ◆Wait:900 frames ◆Set Movement Route:Player : :◇Speed:4 ◆Control Switches:#0001 Speed Boost = OFF
(Worth noting that common events only run while you're on the map scene, i.e. they're "paused" when you're in battle, in the menu, etc.)
Thank you mate! Worked like a charm!
Original thread: https://forums.rpgmakerweb.com/threads/timer-for-temporary-player-speed-boost.92896/