Difference between revisions of "Event Region Trigger (YEP)"

From Yanfly.moe Wiki
Jump to navigation Jump to search
(Created page with "{{MvPlugin |preview = <youtube>https://www.youtube.com/watch?v=IeJDGrClD20</youtube> |link1 = <html><iframe src="https://itch.io/embed/399575" height="167" width="552" framebo...")
 
Line 1: Line 1:
 
{{MvPlugin
 
{{MvPlugin
|preview = <youtube>https://www.youtube.com/watch?v=IeJDGrClD20</youtube>
+
|preview = <youtube>https://www.youtube.com/watch?v=IeJDGrClD20</youtube>
|link1 = <html><iframe src="https://itch.io/embed/399575" height="167" width="552" frameborder="0"></iframe></html>
+
|link1 = <html><iframe src="https://itch.io/embed/399575" height="167" width="552" frameborder="0"></iframe></html>
|link2 = [http://yanfly.moe/plugins/en/YEP_EventRegionTrigger.js Mirror]
+
|link2 = [http://yanfly.moe/plugins/en/YEP_EventRegionTrigger.js Mirror]
  
 
}}
 
}}
Line 9: Line 9:
 
{{Yanfly Engine Plugins}}
 
{{Yanfly Engine Plugins}}
  
== Help File ==
+
== Introduction ==
  
 
  <nowiki>
 
  <nowiki>
============================================================================
 
Introduction
 
============================================================================
 
 
 
In RPG Maker MV, events can only trigger when you are either standing next
 
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
 
to them or on top of them. This plugin lets you bind their activation to
Line 27: Line 23:
 
once the player has stepped onto one of those regions. This plugin binds
 
once the player has stepped onto one of those regions. This plugin binds
 
actual map events to regions instead.
 
actual map events to regions instead.
 +
</nowiki>
  
============================================================================
+
== Comment Tags ==
Comment Tags
 
============================================================================
 
  
 +
<nowiki>
 
By default, event pages have no Region Triggers. They have to be added
 
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
 
manually per event page using comment tags. You can use the following
Line 74: Line 70:
 
   automatically activate. The player is granted a few frames of movement
 
   automatically activate. The player is granted a few frames of movement
 
   each time the parallel process loops.
 
   each time the parallel process loops.
 +
</nowiki>
  
============================================================================
+
== Changelog ==
Changelog
 
============================================================================
 
  
 +
<nowiki>
 
Version 1.02:
 
Version 1.02:
 
- Fixed a bug where parallels don't loop.
 
- Fixed a bug where parallels don't loop.
Line 89: Line 85:
 
- Finished Plugin!
 
- Finished Plugin!
  
============================================================================
 
End of Helpfile
 
============================================================================
 
 
</nowiki>
 
</nowiki>

Revision as of 01:36, 22 June 2019

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

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!