After a few requests, this will be a quick and simple tutorial for having the players character run to the destination or interactive object on double-click.
Tutorial: Adding “Run” On Double-Click!
- In the BP_PNCPlayerController, Add a new function called “SetCharacterMovementSpeed”
- Open this new function and add a new “Speed” input and set the default to “200” (This is the characters default movement speed)
- Add the following:
- Back in the Event graph, find the Perform Action input event.
- Connect the DetectClickMethod macro and insert “SetCharacterMovementSpeed” for both single click (default speed), and double click with a speed set to ‘400.0’ (or a speed of your own choosing)
And your all done… double click away!
Aaron

