Making the enemies destructible

With detection possible with both sight and sound, you might now find it difficult to avoid being spotted by enemies. We will now turn our attention to the other side of gameplay balancing, and equip the player with the means of combating the enemies.

Saving time by reusing existing Blueprint content

Recall that in earlier chapters, we created enemy targets that the player could destroy after a couple of hits with a projectile. We want to give the player a similar ability to mitigate the threat provided by our new enemies. To do so, we can repurpose the Blueprint nodes we already created to handle damage taking and destruction.

Navigate to Content Browser, go inside the Blueprints folder, and open CylinderTarget_Blueprint ...

Get Blueprints Visual Scripting for Unreal Engine now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.