Hello, everyone! My problem is the following:
I want the player to be able to use the mouse to activate events if clicking on them (that is, the player moves to the location of the event and activates it). The engine allows to do this by default, but if the player is immediately right next to the event that is clicked on, the event is not activated. Instead, the player moves to the position of the event and nothing else happens. By default, it seems that there needs to be at least 1 tile between the event and the player. This is particularly anoying when I click on an event that is located diagonally to the player because the pathfinding would sometimes make the player walk in a way that makes the event not be activated.
I would like this to be changed so the player can activate events by clicking on them without the need of the spaces I mentioned before. Can you please help me? Thanks a lot for reading!!!
I want the player to be able to use the mouse to activate events if clicking on them (that is, the player moves to the location of the event and activates it). The engine allows to do this by default, but if the player is immediately right next to the event that is clicked on, the event is not activated. Instead, the player moves to the position of the event and nothing else happens. By default, it seems that there needs to be at least 1 tile between the event and the player. This is particularly anoying when I click on an event that is located diagonally to the player because the pathfinding would sometimes make the player walk in a way that makes the event not be activated.
I would like this to be changed so the player can activate events by clicking on them without the need of the spaces I mentioned before. Can you please help me? Thanks a lot for reading!!!