RPG Maker Forums

Limited Random Battles v1.0
By DreamX

 
Introduction/Features
With a variable you can put a limit on the number of random battles on a map.


Patch Notes


None


How to Use
Right click and save as a .js file.


 * Put this notetag in your map <random_battle_variable:x> with x being the
 * variable id you want to use for the remaining amount of random battles on
 * the map. The value will be decremented each time you encounter a random
 * battle and when the value reaches 0, random battles no longer occur nor are
 * steps recorded towards the next encounter. See the parameters if you wish to
 * pause this function. Since this is a variable you are free to manipulate the
 * value as you wish.



 * Maps without the notetag will function normally.


If you want to get the number of battles remaining for the current map, use DreamX.LimitedRandomBattles.GetRandomBattlesRemaining()


It will return an empty string if random battle limits aren't set up properly for the map.


Script


Credit and Thanks
- DreamX


Author's Notes/Terms of Use
Free to use and modify for commercial and noncommercial games, with credit.

Latest Threads

Latest Posts

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,015
Messages
1,018,351
Members
137,801
Latest member
topsan
Top