When I click on something I want the character to move there and then perform an interaction, but if the player clicks anywere while the character is walking, both (the movement and the interaction) should be cancelled.
It's any simple form of doing this? O have I to control that by hand checking the last clicked element (to know that it's the current transacton), the .walking status (to know if the destiny has been reached) and the position of the character (to know if has arrived to the point), for every object/hotspot/character in the game?
It's any simple form of doing this? O have I to control that by hand checking the last clicked element (to know that it's the current transacton), the .walking status (to know if the destiny has been reached) and the position of the character (to know if has arrived to the point), for every object/hotspot/character in the game?