#1, by BenmirathSaturday, 14. June 2014, 05:06 11 years ago
Hi,
I'm struggling a bit with an automated feature in the engine whereby any left or right mouse click causes the player character to move to that point. My game uses a command setup where left click activates the current command, and right click cycles to the next command.
Ideally, I want to have the left click only move the character, and right click not impact the movement at all. For the time being I've made it so that right clicking stops the character, which works to an extent, but makes the character stop if you try and change commands while walking to a destination. The other solution which I may try next would be to wrap the "stop character" action part in a "wait until character has stopped" action part. This would let the player keep moving, but would presumably also alter their course. Is there any other way to achieve what I'm looking for?
Thanks!