O'Reilly logo

Unreal Engine 4 Game Development Essentials by Satheesh PV

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

Spawning our Blueprint class in Level Blueprint

We will now see how we can spawn this Blueprint Actor in world while the game is running, instead of directly placing when editing.

Before we continue we will make a change to the DestroyAfter variable in our spinning Blueprint Actor. Open our spinning actor's Blueprint editor and, in Variables, select the DestroyAfter variable and, in the Details panel, enable the Expose On Spawn setting.

Spawning our Blueprint class in Level Blueprint

This setting means this variable will be exposed in the Spawn Actor node.

Open your level and, on the toolbar, click the Blueprints button and select Open Level Blueprint. In Level Blueprint perform the following steps: ...

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