Enemy attacks the player and destroys the obstacles

Hi?
So I would like enemies to be able to destroy doors/obstacles and the door to have hp i.e. after several hits by enemies, this door would be “open”

My concept:
I want to add hordes that appear at night and we as players lock ourselves in a room and we have to fight the enemies somehow so they don’t destroy the door. The door could be repaired and upgraded

I couldn’t find any guides on yt so I’m asking in the hope that someone can help

Hey there @xKEJWIIx! Welcome to the community! So you’re going to need to get a handle on a couple AI concepts, but after that you’ll be able to use stimuli checks and the environment query system to have AI detect the door, find a valid (and valuable) path, and then attack it. This tutorial goes over how to use blackboard, behaviour trees, AI perception, and the environment query system.

Here’s a full length tutorial series (+2 more afterwards for EQS), all you’d really have to do is query for more than just the player and handle the attacks.

Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.

Supplemental:

1 Like

thank you