O'Reilly logo

Mastering Unreal Engine 4.X by Muhammad A.Moniem

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the blueprint

As we discussed earlier in Chapter 2, Setting Up Your Warrior, when we finish creating the C++ code, it is not usable until we build a blueprint based on it. That's in the majority of cases, and it's the case here.

In order to put an instance of the Enemy class into the level, we have to have a blueprint based on it first, in the same way you used to create blueprints. But this time, the base class will be Enemy, as this is the main class we want to use for it.

Creating the blueprint

But as you remember, we will always need to change default values. Despite this, you can set almost all the values within the constructor of the class, but still some ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required