public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Random battles based on the number of steps

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Random battles based on the number of steps
  • Original author: rpgmakerxp
  • Original date: July 30, 2015
  • Source thread: https://forums.rpgmakerweb.com/threads/random-battles-based-on-the-number-of-steps.43045/
  • Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker XP Support

Summary

Hey, so I was looking into making specific troops appear for the characters when the character is between say lvl 5-10 or 11-15 on the world map.  I was experimenting with ways of doing this.  Here is the one that worked the best, but I'm having an issue with it. { "lightbox_close": "Close", "lightbox_next": "Next",

Archived First Post

Hey, so I was looking into making specific troops appear for the characters when the character is between say lvl 5-10 or 11-15 on the world map.  I was experimenting with ways of doing this.  Here is the one that worked the best, but I'm having an issue with it.

Protected download

Don't worry about the self A switches, and on the 2nd event page. It just turns off self switch A off, I just forgot to erase that before posting.

What happens is that it takes approximately 30 steps(yes only moving pressing the right button for now) for the first battle to appear(randomly).  This is good.  Then after that first battle it starts a battle for each step.

I KNOW what the issue is.  The issue is that the steps are accumulating.  After the first battle they were already at or over 30, so now since the game reads me as having over 30 steps after the first battle, it always causes me to be in a battle.  I don't know how to STOP that.  I've tried subtracting the variable steps, dividing by 30, setting it to 0, nothing works( I don't think it's actually changing it at all).

How can I cause the random " battle processing" to occur in increments of 30 or whatever other number?

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

Referenced Images / Attachments

rpg maker xp help.jpg
rpg maker xp help.jpg
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#xp-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar