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

Nephilium

Veteran
Veteran
Joined
Jul 14, 2015
Messages
32
Reaction score
7
Primarily Uses
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?
 

Attachments

fluffymonster

She's So FLUFFY!
Veteran
Joined
May 23, 2020
Messages
207
Reaction score
364
First Language
English
Primarily Uses
RMMV
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:
 

Nephilium

Veteran
Veteran
Joined
Jul 14, 2015
Messages
32
Reaction score
7
Primarily Uses
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!
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,715
First Language
English
Primarily Uses
RMMV
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.
 

BK-tdm

Manga Maker
Veteran
Joined
Jun 21, 2018
Messages
210
Reaction score
448
First Language
English
Primarily Uses
RMMV
Yanfly region restrictions (or in this case allowance :kaopride: 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.
 

Nephilium

Veteran
Veteran
Joined
Jul 14, 2015
Messages
32
Reaction score
7
Primarily Uses
Yanfly region restrictions (or in this case allowance :kaopride: 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.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,050
Messages
1,018,548
Members
137,835
Latest member
yetisteven
Top