I've set to the room right edge leaveRightEdge event handler a condition that'll prevent the player character exiting the room unless the condition is met. If the condition isn't met, I use the display function to tell that the player can't leave the room.
The problem is that the game gets stuck displaying the message on a loop and I can't move the player character. Is there way that the message would be displayed only once per attempt to exit the room?
Thanks!
A simple way is to have the character walk (eBlock) back away from the edge.
Ah, I actually tried the walking but didn't determine the eblock. Have to try that this evening. Thanks!
Yes, and make sure you do it before the display. ;)
It's working. Thanks for help! :D