Event Region Trigger (YEP)

From Yanfly.moe Wiki
Jump to navigation Jump to search

Welcome to the wiki! This is where you can find resources from Yanfly.moe, Ækashics.moe,
VisuStella, Caz Wolf, Fallen Angel Olivia, Atelier Irina, and other affiliated content creators.



Download

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.


Masterarbeit Writer

Yanfly Engine Plugins

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


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

CommentTags.png

Comment Tags are similar to Notetags. RPG Maker MV's editor is unable to allow for custom traits/properties that a game dev may wish to associate with an event or common event. Comment Tags are used to work around such limitations by allowing the game dev to tag certain traits/properties using specific Comment Tags declared by the related plugin.

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

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.

Changelog

Version 1.02:
- Fixed a bug where parallels don't loop.

Version 1.01:
- Fixed a bug where Autorun and Parallel triggers won't run unless they had
a region associated with them.

Version 1.00:
- Finished Plugin!