I'd like the player to be able to pass through a tile normally set to impassable

Hello,

As you can see in the screenshots. Normally the mountain tile is set to "X". I don't want the player to be able to move over it normally. However, in the case that you see in the first screenshot. I have a teleport that takes you too the mountain map, and also when you leave the map in question it teleports you right on top of the teleport event and I'd like you to be able to move off of it.

I've tried Yanflys region restrictions with the player allow, all allow, event allow, etc.

The only thing that seemed to work was setting the tile itself to "O" and passable, but I don't want this normally. Just in this one case. I realize I could just move the teleport event beside the mountain, but I'd like it where it is, if it's possible.

I've thought about using Parallel events that surround the event/mountain map that turn on/off player through somehow, but I feel like if that worked it introduce a whole other slew of issues, like the player stepping on that through event, and back tracking, or doing it with switches somehow.

Anyway, if it can be done easily that would be great, if not, I'm up for a challenge, or if it's to complicated I can stop being stubborn and just move the dang event elsewhere.

Thanks,

*EDIT*
As I was reading this post over again it just came to me, and I don't know if this would be better, but... using Yanflys Region Restrictions, could I not just set the bottom part of the mountain tile pieces to "O" and passable and use the YEP plugin to restrict the mountains manually, except for that one spot? I probably won't have all that many mountains on the overworld, so... it could be easier to just restrict the movement, rather then trying to figure out how to allow it? Thoughts?
Hello! You can event it so that you can pass through impassable objects. It's how I get off of beds, hehe. Make a new even, press Return or New, go to 2nd page, and set Movement route. Underneath Direction Fix, there is Through. Turn that On, then turn it back off once you're done with the event. I hope this helps. c:
Hello! You can event it so that you can pass through impassable objects. It's how I get off of beds, hehe. Make a new even, press Return or New, go to 2nd page, and set Movement route. Underneath Direction Fix, there is Through. Turn that On, then turn it back off once you're done with the event. I hope this helps. c:
Thanks Fluffy. I just answered my own question. Lol.

I set the tileset to pass in the Database, and using the Region Restriction I blocked the player from moving onto the bottom half of it, except for the teleport spot. I'll just have to remember to restrict any other mountains I make on the Overworld if there isn't a teleport there. Thanks though!
Normally you'd just have the event set to Through, priority Below Characters, and trigger Player Touch. If the event sprite is from the tileset, have the passability of that tile set to O.
Yanfly region restrictions (or in this case allowance 😤 needs that the adjacent tiles get marked as "passable" too so you can move into the impassable and out of it, if you made your "player pass" region "1" you need to mark "1" on the mountain and "1" on the tiles you want to move to or from, in your case:

[ 1 *] [ 1 ]
[ 1 ]


*:Teleport.

Had this same issue and marking adjacent tiles with the passable region (even if the player can normally walk on them, doesnt work if they're not marked) fixed it.
Yanfly region restrictions (or in this case allowance 😤 needs that the adjacent tiles get marked as "passable" too so you can move into the impassable and out of it, if you made your "player pass" region "1" you need to mark "1" on the mountain and "1" on the tiles you want to move to or from, in your case:

[ 1 *] [ 1 ]
[ 1 ]


*:Teleport.

Had this same issue and marking adjacent tiles with the passable region (even if the player can normally walk on them, doesnt work if they're not marked) fixed it.
Hey BK,

This worked perfectly. I'll go with your recommendation because then I don't have to set the tileset to passable and remember to restict it everytime I make a mountain. This just leaves it to region restrictions, which is what I wanted. I was on the right path with using them to allow, I just didn't know the adjacent tiles needed to also be marked with the "allow" tile as well.
Thanks again.

Original thread: https://forums.rpgmakerweb.com/threads/id-like-the-player-to-be-able-to-pass-through-a-tile-normally-set-to-impassable.121920/