Adding to an existing Blueprint – flashlight, part 2
Now that we have some experience working with Blueprints, let's modify one that's already been created for us. In this section, we will cover how to add a flashlight to our game's character.
Getting ready
Before we start working within the Unreal Editor, we will need to have a project to work with. Follow these steps:
First, open up the Unreal Editor by clicking on the Launch button from the Unreal Engine Launcher.
Start a new project from the Project Browser tab by selecting the New Project tab. Select First person and make sure that With Starter Content is selected. Give the project a Name (
Cookbook_Chapter8
). Once you are done, click on Create Project.After the project is opened, go to the
Example Code
folder and drag and drop theNightScene
map provided in your project folder and open it:At this point, if you were to play the game, it would be incredibly dark, as shown in the following screenshot:
How to do it…
For those who have gone through...