I love Yanfly's Region Restrictions but it will restrict passage to all events except those with through enabled. Is it possible to add a tag check so it will only block tagged events? For example, I want to block a fish from going out of the water tiles but currently I can only block all events from entering or leaving water tiles.
I eventually solved this myself, so here's the fix:
On line 336 in YEP_RegionRestrictions.js
Before
if (regionId === 0) return false;
Add
That will make it so an event with <fish> in its notebox can only move on regions labeled 2 or 3, and be blocked from moving out of those regions. You can edit it to add or remove regions as you like.
There is also Waynee95's plugin which will allow events with certain notetags to bypass restricted regions
forums.rpgmakerweb.com
I eventually solved this myself, so here's the fix:
On line 336 in YEP_RegionRestrictions.js
Before
if (regionId === 0) return false;
Add
Code:
if($dataMap.events[this._eventId] && $dataMap.events[this._eventId].meta.fish){
if(regionId === 2 || regionId === 3) return false;
else return true;
}
That will make it so an event with <fish> in its notebox can only move on regions labeled 2 or 3, and be blocked from moving out of those regions. You can edit it to add or remove regions as you like.
There is also Waynee95's plugin which will allow events with certain notetags to bypass restricted regions
waynee95's Plugin Collection [NEWEST: WAY_MenuBackgrounds]
waynee95's Plugin Collection NOTE: I am no longer working with RPG Maker and have no interest in getting back into it. This means that I will NOT add any additional features to my plugins nor fix bugs unfortunately. Feel free to make edits yourself. Please refrain from contacting me privately...
forums.rpgmakerweb.com