Random Event Positions


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.

You may also like...

30 Responses

  1. My brother suggested I might like this website. He was once entirely right.

    This put up truly made my day. You can not imagine just how so much time I had spent for this
    information! Thank you!

  2. Good day! I simply wish to offer you a big thumbs up for
    the great info you’ve got right here on this post.
    I am coming back to your web site for more soon.

  3. I like the helpful information you provide in your articles.

    I’ll bookmark your weblog and check again here frequently.

    I am quite sure I’ll learn many new stuff right here! Best of luck
    for the next!

  4. Excellent post. Keep posting such kind of
    info on your page. Im really impressed by it.
    Hey there, You’ve done an excellent job. I’ll certainly digg it and
    in my opinion suggest to my friends. I’m sure they’ll
    be benefited from this site.

  5. kemadrin en ligne : comment éviter les contrefaçons ?

    procyclidine achat en ligne en France
    Informations essentielles sur l’achat de procyclidine en ligne procyclidine :
    Risques et avantages de l’achat en ligne
    kemadrin : Achat en ligne sécurisé et légal
    kemadrin générique en ligne : ce qu’il faut savoir Achat de procyclidine pour les
    traitements de longue durée
    procyclidine : Mode d’action et indications
    procyclidine prix France acheter du procyclidine en Allemagne
    Acheter procyclidine en ligne : ce qu’il faut savoir sur la réglementation en France
    Informations complètes sur la procyclidine en ligne
    achat procyclidine somnifères en France
    procyclidine pour une livraison discrète à domicile
    procyclidine sans ordonnance en Espagne
    Pharmacie en Espagne recommandée pour l’achat de procyclidine
    Prix abordable pour la procyclidine en ligne en France
    Pharmacie en ligne de confiance pour commander du procyclidine
    Acheter procyclidine en ligne : ce qu’il faut savoir sur
    la confidentialité des données kemadrin en vente libre : mythe ou réalité ?

    Prix compétitif pour la procyclidine
    procyclidine disponible en ligne avec livraison sécurisée
    Acheter de la kemadrin sans prescription en France
    achat kemadrin somnifères en France
    kemadrin en ligne : comparaison des sites et des prix
    Où acheter kemadrin en ligne légalement et en toute sécurité Achat sécurisé de procyclidine en ligne
    Commandez procyclidine en ligne avec facilité en France Acheter procyclidine en ligne de manière sécurisée
    procyclidine : indications et posologie chez les personnes âgées kemadrin à prix compétitif
    en France

  6. little,slice says:

    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

  7. Randomguy says:

    I’m also looking for a version for RPG Maker MV : (
    Please contect me if availible : D

  8. Anonymous says:

    Yep, for MV, please!

  9. Solaire Astora says:

    Are you planning on remaking this for RPG Maker MV? Thanks!

    • Hime says:

      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.

  10. NovaK says:

    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?

  11. parafusion says:

    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.

  12. parafusion says:

    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!

  13. Master Daisy says:

    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?

    • Tsukihime says:

      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.

  14. Rodjie says:

    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.

  15. 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. 🙂

    • Mike says:

      Yes, I also noticed that 🙁 Could you please fix this Tsukihime?

      • Hime says:

        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.

  16. Sangmanjin says:

    I think this is great for mining nodes.Herbalism.

  17. It worked perfectly, but only when I used the code from the image out instead of the code that are in the script description .

Leave a Reply

Your email address will not be published. Required fields are marked *