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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.