Region ID Event

Title of Script Request:

Region ID Event

Description of the requested script:

I want a script where, say for example I placed region id 1 on the map, and when the actor steps on that region, an event happens. How exactly would the event happens? Say for example, I have my actor and an event on the map. When I placed Region 1 there, and when I stepped on to those regions, the event with a comment <region_1_event> would be executed. This would mean as well that maybe, if there's a way where when you step on that region, the event with that comment <region_1_event> would automatically switch to self-switch B for proper execution.

Thank you very much for the ones who can solve or grant this script request.
such a script already exists on the master script list in several variants - is there a specific reason why you're requesting a script instead of using one of the existing ones, for example Shaz' Region Common Events or Yanfly's common event tiles (works with tile tag instead of Region ID)?
regionevents1.jpg



http://www.himeworks.com/2013/12/region-events/


It doesn't support multiple events per region.
Thanks for all the suggestion. I am specifically doing some events, and it would have been hard without these scripts.

such a script already exists on the master script list in several variants - is there a specific reason why you're requesting a script instead of using one of the existing ones, for example Shaz' Region Common Events or Yanfly's common event tiles (works with tile tag instead of Region ID)?
Because I want the script to specifically function for the event I am working on. Most of the time, I get to use scripts that has something I do not want on them, and it would be sad if I just get the script away on my project.

Original thread: https://forums.rpgmakerweb.com/threads/region-id-event.31883/