Our awesome game has been sitting there not getting awesome, so let's start expanding it with some Blueprints of our own.
The first thing we will do is add a sprint button for our character. This will cover a lot of the things we've discussed in this chapter, as well as the previous one:
- Go back to the main editor window.
- Go to Edit | Project Settings, and scroll down to the Engine section.
- Click on the Input subsection.
- Press the plus sign next to Action Mappings and name the new one Sprint.
- Assign it a key of Left Shift:
- Close the Project Settings page and go back to out ThirdPersonCharacter's main blueprint window and the Event Graph tab.
- Right-click and type Sprint. Our custom input event will show up as an option:
- Now, go to the Components tab on the left and drag the Character Movement component out into the main window to create a...