Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 MapSteps
#1
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? 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

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! Gamer
That's it! Tongue sticking out
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }
#2
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
$game_variables.reset_map_steps
$game_variables.max_map_steps

For MV
Code:
$gameVariables.set_last_map_steps()
$gameVariables.reset_map_steps()
$gameVariables.max_map_steps()

The parentheses are required because they are actual functions and not variables.
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }




Users browsing this thread: