MapSteps - Printable Version +- Save-Point (https://www.save-point.org) +-- Forum: Material Development (https://www.save-point.org/forum-8.html) +--- Forum: Scripts Database (https://www.save-point.org/forum-39.html) +--- Thread: MapSteps (/thread-8766.html) |
MapSteps - kyonides - 06-21-2023 MapSteps
XP + VX + ACE + MV Version 0.2.1 by Kyonides
Introduction All editions of the Maker offer you a way to assign the Party's Steps to a Game Variable. Normally, that's all you ever needed to do right? What if you actually needed to keep track of the current map's steps only? Here's where this scriptlet comes to help you achieve your stepping goal! For All RGSS Editions Assign a Game Variable ID to VAR_ID and you're ready to go! There is also the LAST_VAR_ID that will help you keep track of your previous map's steps. And you can also count on the TOTAL_VAR_ID to check if your player has reached the maximum number of steps for a given couple of maps. The steps will be reset every single time you move to another map! Code: module MapSteps For MV The Plugin Manager will let you pick the perfect Game Variables for these tasks. They are named the Current Map, Last Map and Max Steps Variables. Terms & Conditions Free for use in any game! That's it! RE: MapSteps - kyonides - 06-22-2023 Quick Update!
I have recently updated BOTH the Script & the Plugin. It now features 2 New Variables, 1 for the Last Map's Steps and another 1 for the Max Steps. Both of them have new script calls you can use to set the max steps or reset the current steps or get the max steps. For RGSS Code: $game_variables.set_last_map_steps For MV Code: $gameVariables.set_last_map_steps() The parentheses are required because they are actual functions and not variables. |