To make follower through on

Hey i'm in a pickle here, i want to make my follower through so when enemy chase me, they dont get block by my follower, i already have 2 yanfly plugin the first one is event chase, the second one is encounteraid, in encounter aid already have follower trigger an event, but when combine it with event chase, it didn't work. So my solution is to make my follower through so event can chase player without getting block by the other parry member.

Can I do that?

Edit:
The enemy does trigger when the follower get touch but now i have a new problem, the enemy only chase the player. So my solution still stand, i want to make the follower through on
Game Followers are through on by default.

Code:
Game_Follower.prototype.initialize = function(memberIndex) {
    Game_Character.prototype.initialize.call(this);
    this._memberIndex = memberIndex;
    this.setTransparent($dataSystem.optTransparent);
    this.setThrough(true);  // <<<<<<<<<<<<<<< this here
};

You, the player, need to be able to walk through followers - otherwise you could end up going down a narrow passage and being blocked in a dead end by them.

Perhaps what you want is for events to be able to go through followers, as by default they can't.

Code:
Game_Player.prototype.isCollided = function(x, y) {
    if (this.isThrough()) {
        return false;
    } else {
        return this.pos(x, y) || this._followers.isSomeoneCollided(x, y); // <<<<<<<<<<<<< this will stop an event going through followers
    }
};


Try putting this into a new plugin (give it any name, but it needs a .js extension, and to be saved to your plugins folder). Then add it using the plugin manager:

Code:
Game_Player.prototype.isCollided = function(x, y) {
    if (this.isThrough()) {
        return false;
    } else {
        return this.pos(x, y);
    }
};

See if it works, but I expect it will allow ALL events to go through followers, not just those that are meant to be chasing the player.
Game Followers are through on by default.

Code:
Game_Follower.prototype.initialize = function(memberIndex) {
    Game_Character.prototype.initialize.call(this);
    this._memberIndex = memberIndex;
    this.setTransparent($dataSystem.optTransparent);
    this.setThrough(true);  // <<<<<<<<<<<<<<< this here
};

You, the player, need to be able to walk through followers - otherwise you could end up going down a narrow passage and being blocked in a dead end by them.

Perhaps what you want is for events to be able to go through followers, as by default they can't.

Code:
Game_Player.prototype.isCollided = function(x, y) {
    if (this.isThrough()) {
        return false;
    } else {
        return this.pos(x, y) || this._followers.isSomeoneCollided(x, y); // <<<<<<<<<<<<< this will stop an event going through followers
    }
};


Try putting this into a new plugin (give it any name, but it needs a .js extension, and to be saved to your plugins folder). Then add it using the plugin manager:

Code:
Game_Player.prototype.isCollided = function(x, y) {
    if (this.isThrough()) {
        return false;
    } else {
        return this.pos(x, y);
    }
};

See if it works, but I expect it will allow ALL events to go through followers, not just those that are meant to be chasing the player.

Hi Shaz,

It worked. So far it serves well for Enemy Chase Player purposes.

Original thread: https://forums.rpgmakerweb.com/threads/to-make-follower-through-on.105317/