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.