public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

3 Followers

[Solved] Making random encounters

BMM_Archive · July 15, 2026

BMM_Archive
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: [Solved] Making random encounters
  • Original author: MegaGothmog
  • Original date: May 29, 2023
  • Source thread: https://forums.rpgmakerweb.com/threads/solved-making-random-encounters.157909/
  • Source forum path: Game Development Engines > RPG Maker MZ Support

Summary

I want to add random encounters to the world, but not simply enemy encounters after x-amount of steps. For example; I want to have the characters walk in region 1, and while they're there, there is a chance one of 5 encounters is triggered. I thought I could do it like this; When the characters walk through Region 1, a region tracker would play a Common Event.

Archived First Post

I want to add random encounters to the world, but not simply enemy encounters after x-amount of steps.
For example; I want to have the characters walk in region 1, and while they're there, there is a chance one of 5 encounters is triggered.

I thought I could do it like this;
When the characters walk through Region 1, a region tracker would play a Common Event. Schermopname (41).png

That common event would then pick a number between 1 and 30. If the picked number is 1, 5 or 7 etc. an event would play. Any other number and nothing would happen.Schermopname (42).png
Unfortunately its not working the way i want to. At first the region tracker event caused the common event to play constantly, since I have it run parallel. Otherwise it wouldn't play at all.
Now, after changing the name, it runs either not at all, or only when I enter the map after leaving a village. And then it only plays once and not again.

What I want is the common event to play when a character stands on a tile that is marked as Region 1.
The common event then runs a number once. If that number corresponds with an encounter, the encounter is played. If not, then nothing happens until the player moves to the next tile marked as Region 1.

I hope it makes sense. Does anyone know if this can be done within MZ itself, or do I need a plugin for this?

Downloads / Referenced Files

RPG Maker Web attachments are mirrored locally when available. Other external links remain hosted by their original creator or third-party service.

  • Local mirror: 242715-242475b7be63df8822fb2d5b07a8ed6f.png
    SHA-256: 88eaf2333df33159c4bda9f63f65d85cdae1d005bbf16e6cae67f24158fe3747
    Original attachment URL: https://forums.rpgmakerweb.com/attachments/schermopname-41-png.263635/
  • Local mirror: 242716-8f9633cef9112346f033562bfe21e708.png
    SHA-256: 1ddbac0a48b3fb168049e055fb42701c489cd265e60da86e7462ff6de5f83e9a
    Original attachment URL: https://forums.rpgmakerweb.com/attachments/schermopname-42-png.263636/

Referenced Images / Attachments

Schermopname (41).png
Schermopname (41).png
Schermopname (42).png
Schermopname (42).png
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.

Replies (0)

No replies yet.

0 replies 15 views

Log in to reply.