This script allows you to randomize an event’s position when you enter the
map. Regions are used to designate the tiles where an event can appear.
Script: download here
Place this script below Materials and above Main
To designate an event page where the event’s position is randomized, create
a comment and write
<random position region: x type>
For some region ID x
The type determines when position randomization occurs
start - only once: when the event is first created init - whenever the event is created page - whenever you change to that page
If that page is active when the map is loaded, then the event will be randomly
moved to a tile in that region.
This is applied to events on a per-page basis, so you may need to add the
comment to multiple pages.
In the configuration there is a switch that will allow you to disable random event positioning if the switch is ON.
Note that the “start” type does not memorize the event’s location, so you will
need a different script for that.
Maybe I am just a numb skull and/or sleep deprived but I can’t really grasp what to do to make this script work. Although I am somewhat of a novice, could a video of someone
setting up the events be created by a kinds soul? It would help a lot
I’m also looking for a version for RPG Maker MV : (
Please contect me if availible : D
Yep, for MV, please!
Are you planning on remaking this for RPG Maker MV? Thanks!
Since you’ve requested it I will consider making one for MV. I’m going to have to put together a design first though to avoid some issues I had in Ace.
Hey, I sent a message through the contact form but haven’t received a response. No rush but was Just wondering on the commercial usage of this script?
I may have responded to the email just now.
Thanks, just got it and sent a response.
I've recently ran into a rather peculiar situation while using this script. When using the :page type, it works as intended with one exception. This exception occurs when I start spamming page changes on different events. The first few events will properly randomize when switching to the page with the <random comment> but after awhile, the events will stop randomizing. I have recorded the testing here:
I will provide all the event pages if necessary.
Create an issue on the issue tracker with a debug demo attached.
Hello there. I have some testing on the script and so far, it works great. I do however, have one question. How do I get the page type to work? I am currently trying something in the format of
<random position region: 2 page>
but the event does not seem to relocate the event to a new random location when the event enters a new page, even though the comment has been put into the top of the page.
Is this working as intended? Thank you so much!
Do both pages have the comment?
Yep, the first page has
<random position region: 2 init>
and the second page has
<random position region: 2 page>
I have also tried using the page type on both pages as well, but unfortunately, that also did not work. Thanks!
It should work now.
Working flawlessly now! Thank you so much for the fix!
Hello Thanks for this script …
will be helpful to randomize the NPCs,
i would like to ask if more than 10 npcs have the same regions id for example all of them
and the map have more than 20 places where i put the Regions, is there a chance that two npc move in the same place?
I have updated the script so that events do not overlap each other. Unfortunately this also means that if there is no available tiles left, the event’s position does not get randomized.
Nice script, but how will i randomize two graphics at the same time? for example, graphic 1 must be always place on the top of the graphic 2.
Try creating the event as a stacked event: http://himeworks.wordpress.com/2013/04/07/stacked-events/
I’m not sure if this is intentional or not. But sometimes the events will stack on top of each other when they randomly choose the same tile to land on. I just thought you should know. Beautiful work, truly. 🙂
Yes, I also noticed that 🙁 Could you please fix this Tsukihime?
I thought I had addressed the issue before. It still occurs? Do you have enough spaces available for your events? For example, if you have 3 events but only two squares, two of them will likely stack up.
I think this is great for mining nodes.Herbalism.
It worked perfectly, but only when I used the code from the image out instead of the code that are in the script description .
Yes, I wrote the documentation before I actually wrote the code and then changed my mind but forgot to update the docs.