Is there any way to make events still obey region restrictions when they have 'Through' checked on? Alternatively is there a way to make the player able to pass through certain events without the player or the event being able to pass through impassable tiles? I do not want them set as above or below player because it doesn't quite look right.
MV Yanfly Region Restrictions work with 'Through' on?
Javascript/Plugin SupportI don't have the plugin handy, but it should be handling the restriction for events under
There you just want to quote out the line
To your second part requires a lot more effort and a plugin to identify certain events as passable to the player and not other things, etc... I wish I had more time to help ya on that one, lol.
Code:
Game_CharacterBase.prototype.isEventRegionForbid
Code:
if (this.isThrough()) return false;
To your second part requires a lot more effort and a plugin to identify certain events as passable to the player and not other things, etc... I wish I had more time to help ya on that one, lol.
I actually tried this exact thing, taking that line of code out but it still did not work.
Original thread: https://forums.rpgmakerweb.com/threads/yanfly-region-restrictions-work-with-through-on.133700/