Difference between revisions of "Event Encounter Aid (YEP)"

From Yanfly.moe Wiki
Jump to navigation Jump to search
(Created page with "{{MvPlugin |preview = <youtube>https://www.youtube.com/watch?v=LCm9FiRokWg</youtube> |link1 = <html><iframe src="https://itch.io/embed/399570" height="167" width="552" framebo...")
 
Line 1: Line 1:
 
{{MvPlugin
 
{{MvPlugin
|preview = <youtube>https://www.youtube.com/watch?v=LCm9FiRokWg</youtube>
+
|preview = <youtube>https://www.youtube.com/watch?v=LCm9FiRokWg</youtube>
|link1 = <html><iframe src="https://itch.io/embed/399570" height="167" width="552" frameborder="0"></iframe></html>
+
|link1 = <html><iframe src="https://itch.io/embed/399570" height="167" width="552" frameborder="0"></iframe></html>
|link2 = [http://yanfly.moe/plugins/en/YEP_EventEncounterAid.js Mirror]
+
|link2 = [http://yanfly.moe/plugins/en/YEP_EventEncounterAid.js Mirror]
  
 
}}
 
}}
Line 9: Line 9:
 
{{Yanfly Engine Plugins}}
 
{{Yanfly Engine Plugins}}
  
== Help File ==
+
== Introduction ==
  
 
  <nowiki>
 
  <nowiki>
============================================================================
 
Introduction
 
============================================================================
 
 
 
For those who have on-screen encounters, you may have discovered that making
 
For those who have on-screen encounters, you may have discovered that making
 
touch encounters in RPG Maker MV to be rather difficult when it comes to
 
touch encounters in RPG Maker MV to be rather difficult when it comes to
Line 21: Line 17:
 
encounter checking process easier by providing six conditional script calls
 
encounter checking process easier by providing six conditional script calls
 
for you to utilize when checking event vs player positions.
 
for you to utilize when checking event vs player positions.
 +
</nowiki>
  
============================================================================
+
== Notetags ==
Notetags
 
============================================================================
 
  
 +
<nowiki>
 
You can place these notetags into the notebox at the top of an event's page.
 
You can place these notetags into the notebox at the top of an event's page.
 
These notetags will enable unique effects for event encounters.
 
These notetags will enable unique effects for event encounters.
Line 41: Line 37:
 
   - This will allow the event to trigger if the event touches a follower and
 
   - This will allow the event to trigger if the event touches a follower and
 
   not just the main player.
 
   not just the main player.
 +
</nowiki>
  
============================================================================
+
== Event - Conditional Branch - Script Calls ==
Event - Conditional Branch - Script Calls
 
============================================================================
 
  
 +
<nowiki>
 
When using the Conditional Branch event, you can use these following in the
 
When using the Conditional Branch event, you can use these following in the
 
'Script' check category:
 
'Script' check category:
Line 72: Line 68:
 
means that even if you were to misspell or put a single letter in the wrong
 
means that even if you were to misspell or put a single letter in the wrong
 
case, the effect will cease to work as this is code we're dealing with.
 
case, the effect will cease to work as this is code we're dealing with.
 +
</nowiki>
  
============================================================================
+
== Changelog ==
Changelog
 
============================================================================
 
  
 +
<nowiki>
 
Version 1.01:
 
Version 1.01:
 
- Updated for RPG Maker MV version 1.5.0.
 
- Updated for RPG Maker MV version 1.5.0.

Revision as of 01:35, 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

For those who have on-screen encounters, you may have discovered that making
touch encounters in RPG Maker MV to be rather difficult when it comes to
performing a sneak attack upon an event or such. This plugin makes the event
encounter checking process easier by providing six conditional script calls
for you to utilize when checking event vs player positions.

Notetags

You can place these notetags into the notebox at the top of an event's page.
These notetags will enable unique effects for event encounters.

Event Notetag:

  <Encounter Lock>
  <Encounter Direction Lock>
  - This will cause the event to not immediately face the player when
  approached making it possible for the game to check the direction each is
  facing.

  <Follower Touch>
  <Follower Trigger>
  - This will allow the event to trigger if the event touches a follower and
  not just the main player.

Event - Conditional Branch - Script Calls

When using the Conditional Branch event, you can use these following in the
'Script' check category:

Script Calls

  this.checkEventFacingPlayerFront()
  - Returns true if the event is facing the player's front.

  this.checkEventFacingPlayerBack()
  - Returns true if the event is facing the player's back.

  this.checkEventFacingPlayerSide()
  - Returns true if the event is facing the player's side.

  this.checkPlayerFacingEventFront()
  - Returns true if the player is facing the event's front.

  this.checkPlayerFacingEventBack()
  - Returns true if the player is facing the event's back.

  this.checkPlayerFacingEventSide()
  - Returns true if the player is facing the event's side.

Make sure these are spelled correctly. They are also case-sensitive. This
means that even if you were to misspell or put a single letter in the wrong
case, the effect will cease to work as this is code we're dealing with.

Changelog

Version 1.01:
- Updated for RPG Maker MV version 1.5.0.

Version 1.00:
- Finished Plugin!