Save-Point
MapSteps VX + ACE - 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)
+---- Forum: RPGMaker VX/VXAce (RGSS2/3) Engines (https://www.save-point.org/forum-117.html)
+---- Thread: MapSteps VX + ACE (/thread-9901.html)



MapSteps VX + ACE - kyonides - 10-04-2024

MapSteps VX + ACE
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? Happy with a sweat

Thinking 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! Two Thumbs Up!

For All RGSS Editions

Assign a Game Variable ID to VAR_ID and you're ready to go! Grinning
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! Winking

Code:
module MapSteps
  VAR_ID = 1
  LAST_VAR_ID = 2
  MAX_VAR_ID = 3
end


Terms & Conditions

Free for use in any game! Gamer
That's it! Tongue sticking out


RE: MapSteps VX + ACE - kyonides - 10-04-2024

Quick Update!

I have recently updated the Scripts.

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
$game_variables.reset_map_steps
$game_variables.max_map_steps

The parentheses are required because they are actual functions and not variables.