So I have a little bug appearing in my game that's a little annoying since the workaround makes the game harder [difficulty-wise]. So the region restrictions I'm using is Event Restrict. I'm using it to keep the roaming on-map enemies from entering certain story-important areas.
Works great for that.
What the problem happens is that the Event Restrict also stops my followers... As if they're events as well. This is annoying and messes up my CSs.
Could this be a bug? Or is it a conflict with another plugin?
I do have a plugin for controlling my followers independently from the player for CSs... Could that be it?
This is my Plugin list:
ExHydra_FollowerControl is the plugin I think is causing a conflict... So I was wondering if there is a way to fix this. Make so it doesn't happen.
I believe this is the code that RegionRestrictions uses to restrict the events:
Can that be modified to allow the follower to be counted as a player as well?
Works great for that.
What the problem happens is that the Event Restrict also stops my followers... As if they're events as well. This is annoying and messes up my CSs.
Could this be a bug? Or is it a conflict with another plugin?
I do have a plugin for controlling my followers independently from the player for CSs... Could that be it?
This is my Plugin list:
ExHydra_FollowerControl is the plugin I think is causing a conflict... So I was wondering if there is a way to fix this. Make so it doesn't happen.
I believe this is the code that RegionRestrictions uses to restrict the events:
JavaScript:
Game_CharacterBase.prototype.isEventRegionForbid = function(x, y, d) {
if (this.isPlayer()) return false;
if (this.isThrough()) return false;
var regionId = this.getRegionId(x, y, d);
if (regionId === 0) return false;
if ($gameMap.restrictEventRegions().contains(regionId)) return true;
return false;
};
Can that be modified to allow the follower to be counted as a player as well?