Player & Event character swapping places

Ok so I'm back again, making decent progress in updating my game but now I'm stuck again. XD
So I'm using RPG Maker MV, hopefully I can explain my issue decently.

I'm looking for a way to get the player and the event characters to swap places when moving. In one part of my game, the player finds 3 other characters (they are events though). I'm testing the area with 1 of the event characters, I set his movement route to follow the player, which works fine..he follows. Yet if you need to walk in the direction he's standing, you can't get through him. I know you can make the event through, but then he goes through walls and everything, even inside of the player when following the player and I don't want that. XD

Looking for a way to get the player to move through the event characters like how the Pokemon do in Mystery dungeon.

I was thinking about making a character to add to the party in this case, but I don't want those 3 characters to join in battles, so I kept them as events.

If anyone knows a way to do something like this, I'd greatly appreciate it 🙂
Hi there!

See if you can do this, lowering the event priority, with this script call:
JavaScript:
const ids = [1, 2, 3]

for(const id of ids){
    $gameMap.event(id).setPriorityType($gameplayer._priorityType - 0.1)
}

Just copy and paste this code inside a script call field.
You can choose the event ids you want to apply the change, by inserting their ID inside the brackets []
and separate each one with a comma.
I tried this:
The Page shows my NPC follower. Seems to work.
gothroughpartyevent45846.png
Hi there!

See if you can do this, lowering the event priority, with this script call:
JavaScript:
const ids = [1, 2, 3]

for(const id of ids){
    $gameMap.event(id).setPriorityType($gameplayer._priorityType - 0.1)
}

Just copy and paste this code inside a script call field.
You can choose the event ids you want to apply the change, by inserting their ID inside the brackets []
and separate each one with a comma.

Ahhh it works!! thank you so much!
You are a life saver 😀

Original thread: https://forums.rpgmakerweb.com/threads/player-event-character-swapping-places.144606/