Hello RPG Makerers
I hope you're having a lovely time.
I am making a navigation puzzle where the player plots a course by placing Xs on the gridded map. I would like to check if a virtual line connecting these Xs goes over a specific region at any point, like over land for example. If yes, I want to give a the player a message that says something like,"You can't plot a course over land!".
There are a number of different conditions that trigger a failure for the player. But to break it down to the most basic part of the question:
I want to check if the line between Event 1 and Event 2, is passing through Region 2 (see image above in spoiler). Is it possible to do this using script or anything else?
Thanks in advance for any help that anyone can provide
I hope you're having a lovely time.
I am making a navigation puzzle where the player plots a course by placing Xs on the gridded map. I would like to check if a virtual line connecting these Xs goes over a specific region at any point, like over land for example. If yes, I want to give a the player a message that says something like,"You can't plot a course over land!".
There are a number of different conditions that trigger a failure for the player. But to break it down to the most basic part of the question:
Thanks in advance for any help that anyone can provide
