Hello! In the game I'm working on, I'm using a script (Yanfly's Move Restrict Region) that allows players or NPCs(events) to be allowed or disallowed on certain region tiles or to be quarantined to a specific area via fencing with the region tiles. Settings include having one number of regions to allow (or disallow) nothing (events or player cannot stand on the tile), events only, or the player only. In order to walk on those tiles, the "Through" setting needs to be put on for an event or player. I haven't found a good method to simulate walking on specific tiles (like water or nothingness) as swimming or flying could do so I used the script above.
So to visualize my problem, I'll start with water. I have a tileset with water that I can walk on. In order to "swim", you'll need a specific armor piece. A swimming suit would be the condition to "swim". When that's equipped, it'll change the player's setting to "Through" which allows the player to step on said tile. It only works that way because of how the script was made. Everything seems to be working well until an event comes along. When the player collides with an event, it either goes above or below it. I don't want that. I'd like a way that even if "Through" is set to on for the player, events will still collide with the player.
So to visualize my problem, I'll start with water. I have a tileset with water that I can walk on. In order to "swim", you'll need a specific armor piece. A swimming suit would be the condition to "swim". When that's equipped, it'll change the player's setting to "Through" which allows the player to step on said tile. It only works that way because of how the script was made. Everything seems to be working well until an event comes along. When the player collides with an event, it either goes above or below it. I don't want that. I'd like a way that even if "Through" is set to on for the player, events will still collide with the player.