Hi.
I have following scenario: Floor is invisible and Player is only allowed to walk on Region ID 1 tiles. If Player walks on Region ID 2 it gets teleported to the start. It's managed by a Parallel Process that recieves Player X/Y through a Parallel Process Common Event.
1st Problem: The detection doesn't work instantly. Means that the Player can still walk on Region ID 2 for a bit until the Event gets triggered. The amount of steps seems to be random. Sometimes it's the first step. Sometimes 5. I also tried to turn the trigger into an Autostart instead of Parallel Process but it doesn't work either. Same with turning the Region ID 2 tiles into Player Touch events doesn't prevent the overstepping but its reaction time seems little better.
2nd Problem: It seems like the system keeps the Region ID longer registered than the Player is on it. After teleporting the Player isn't on Region ID 2 anymore but the Event gets triggered again multiple times. Adding 35 frames of Wait fixes that. I read that other people have other minimum Wait time to prevent this.
The same problem occurs after following a tutorial with the same mechanics I came up with. I uploaded an image of the setup.
Hope there is a solution for it.
I have following scenario: Floor is invisible and Player is only allowed to walk on Region ID 1 tiles. If Player walks on Region ID 2 it gets teleported to the start. It's managed by a Parallel Process that recieves Player X/Y through a Parallel Process Common Event.
1st Problem: The detection doesn't work instantly. Means that the Player can still walk on Region ID 2 for a bit until the Event gets triggered. The amount of steps seems to be random. Sometimes it's the first step. Sometimes 5. I also tried to turn the trigger into an Autostart instead of Parallel Process but it doesn't work either. Same with turning the Region ID 2 tiles into Player Touch events doesn't prevent the overstepping but its reaction time seems little better.
2nd Problem: It seems like the system keeps the Region ID longer registered than the Player is on it. After teleporting the Player isn't on Region ID 2 anymore but the Event gets triggered again multiple times. Adding 35 frames of Wait fixes that. I read that other people have other minimum Wait time to prevent this.
The same problem occurs after following a tutorial with the same mechanics I came up with. I uploaded an image of the setup.
Hope there is a solution for it.