YEP.177 – Event Region Trigger – RPG Maker MV

Yanfly Engine Plugins is a plugin library made for RPG Maker MV, a wonderful piece of software to help you make that role playing game of your dreams. You can find out more about RPG Maker MV here.

You can grab the plugin here:

English Mirror

Support Team Yanfly on Patreon

In RPG Maker MV, events can only trigger when you are either standing next to them or on top of them. This plugin lets you bind their activation to different events onto regions, making them trigger if the player is standing on the designated region first before talking to them through the Action Button, Player Touch, Event Touch, Autorun, and/or Parallels giving them multitudes of ways to trigger events. All of these can be done by simply adding Comment Tags into an event’s page.

This is different from Region Events, which causes a Common Event to autorun once the player has stepped onto one of those regions. This plugin binds actual map events to regions instead.


Introduction


In RPG Maker MV, events can only trigger when you are either standing next to them or on top of them. This plugin lets you bind their activation to different events onto regions, making them trigger if the player is standing on the designated region first before talking to them through the Action Button, Player Touch, Event Touch, Autorun, and/or Parallels giving them multitudes of ways to trigger events. All of these can be done by simply adding Comment Tags into an event’s page.

This is different from Region Events, which causes a Common Event to autorun once the player has stepped onto one of those regions. This plugin binds actual map events to regions instead.


Comment Tags


By default, event pages have no Region Triggers. They have to be added manually per event page using comment tags. You can use the following comment tags to give each event page a region trigger.

Comment Tags:

<Region Trigger: x>
<Region Triggers: x, x, x>
– Replace ‘x’ with the ID’s of the regions you wish to let the event trigger if the player is standing within a tile with that region ID and triggering the event page’s activation trigger requirements.

Event region triggers behave differently depending on the event page’s trigger type. Here is how the event page will activate based on the trigger:

Action Button
– As long as the player is within the matching region ID, pressing the OK button will activate the event.

Player Touch
– If the player moves within the matching region ID, the event will automatically activate. The player can also press the OK button to trigger the event.

Event Touch
– If the player moves within the matching region ID, the event will automatically activate. The player can also press the OK button to trigger the event.

Autorun
– If the player moves within the matching region ID, the event will automatically activate. There is no escaping this autorun unless you have a way of turning it off.

Parallel
– If the player moves within the matching region ID, the event will automatically activate. The player is granted a few frames of movement each time the parallel process loops.


Happy RPG Making!