Region Restrictions (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

Extension Plugins

The following plugins are Extension Plugins that require this plugin as its Parent Plugin.

Place the following plugins below this plugin located in the Plugin Manager if you plan on using them.

Yanfly Engine Plugins

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


Introduction and Instructions

Not everybody wants NPC's to travel all over the place. With this plugin,
you can set NPC's to be unable to move pass tiles marked by a specified
Region ID. Simply draw out the area you want to enclose NPC's in on and
they'll be unable to move past it unless they have Through on. Likewise,
there are regions that you can prevent the player from moving onto, too!

A new change from the RPG Maker VX Ace version is that now there exist
Regions that can allow players and events to always travel through.

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:

  <Player Restrict Region: x>
  <Player Restrict Region: x, x, x>
  <Player Restrict Region: x to y>
  Restricts region x for the player on this particular map. Use multiple x
  to mark more regions. From x to y, you can mark a multitude of regions.

  <Event Restrict Region: x>
  <Event Restrict Region: x, x, x>
  <Event Restrict Region: x to y>
  Restricts region x for all events on this particular map. Use multiple x
  to mark more regions. From x to y, you can mark a multitude of regions.

  <All Restrict Region: x>
  <All Restrict Region: x, x, x>
  <All Restrict Region: x to y>
  Restricts region x for the player and all events on this particular map.
  Use multiple x to mark more regions. From x to y, you can mark a multitude
  of regions.

  <Player Allow Region: x>
  <Player Allow Region: x, x, x>
  <Player Allow Region: x to y>
  Allows region x for the player on this particular map. Use multiple x
  to mark more regions. From x to y, you can mark a multitude of regions.

  <Event Allow Region: x>
  <Event Allow Region: x, x, x>
  <Event Allow Region: x to y>
  Allows region x for all events on this particular map. Use multiple x
  to mark more regions. From x to y, you can mark a multitude of regions.

  <All Allow Region: x>
  <All Allow Region: x, x, x>
  <All Allow Region: x to y>
  Allows region x for the player and all events on this particular map.
  Use multiple x to mark more regions. From x to y, you can mark a multitude
  of regions.

Tips & Tricks

The following Tips & Tricks effects use this plugin:

Changelog

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

Version 1.03:
- Fixed an issue with vehicles being capable of landing the player in region
restricted zones.

Version 1.02:
- Plugin parameters have been upgraded to now accept multiple region ID's.
Insert a space in between them to add more than one region ID.

Version 1.01:
- Added new notetags to allow for more region restriction settings!

Version 1.00:
- Finished plugin!