Region Events (YEP)

From Yanfly.moe Wiki
Jump to navigation Jump to search


System

This is a plugin created for RPG Maker MV.

For help on how to install plugins, click here.

For help on how to update plugins, click here.

Got errors with your RPG Maker MV plugin? Click here.

Download

Yanfly Engine Plugins

This plugin is a part of the Yanfly Engine Plugins library.

Click here if you want to help support Team Yanfly on Patreon.

Introduction and Instructions

There are 255 Regions you can mark on your map. You can set it so that when
players step on those specific Regions, a Common Event will play each time
they step on it. To do so, bind a Common Event's ID to the Region number in
this plugin's parameters. It will make it so that any tile with that very
specific Region ID to trigger an on-Player Touch event using the Common
Event ID that you have marked for it.

Keep in mind that if any common event occurs during a touch input, it will
clear the touch input as intended by the game engine.

Notetags

NotetagsMV.png

RPG Maker MV's editor is unable to allow for custom traits/properties that a game dev may wish to associate with a database object, event, map, etc. Notetags are used to work around such limitations by allowing the game dev to tag certain traits/properties using specific Notetags declared by the related plugin.

Here is a list of Notetag(s) that you may use.

You can use this notetag inside of your maps.

Map Notetags:
  <Region x Event: y>
  If the player steps onto a tile marked by Region x, it will run the
  common event y. This will override the default settings marked in the
  editor specifically for that map.

Changelog

Version 1.03:
- Corrected an issue that would cause a region event to repeatedly trigger
if the mouse button is held down on the player.

Version 1.02:
- Fixed a bug that prevented region events from trigger if the mouse button
is held down longer than usual.

Version 1.01a:
- Fixed a bug with region event notetags that stopped working if it was used
to teleport onto the same map.

Version 1.00:
- Finished plugin!